Routes.rb

I try so set my routes.rb file to start with the index action in my home
controller.

ActionController::Routing::Routes.draw do |map|
with an extension

map.connect ‘’, :controller => ‘home’
end

But it doesn,t work when i start my app i only get You are running on
the rails.
why is my app ignoring the routes.rb file

Okay i have this.

ActionController::Routing::Routes.draw do |map|
map.connect ‘’, :controller => ‘home’
end

But no connection

GA Gorter wrote:

Okay i have this.

ActionController::Routing::Routes.draw do |map|
map.connect ‘’, :controller => ‘home’
end

But no connection

try deleting public/index.html

Thanks!

it works now

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs