Nick Klius
Nick Klius

Reputation: 23

Rails 4.0.0.beta ActionController::RoutingError (No route matches [GET] "/"):

I've created simple rails app. In development mode i'd got typical "Welcome page" but in production mode had error ActionController::RoutingError (No route matches [GET] "/") until created controller and set root route. Why i can't see "Welcome page" in production?

Upvotes: 1

Views: 953

Answers (1)

John
John

Reputation: 4382

The welcomes controller is only for development. Here is the pull request that added it stating that it only works in the development environment:

https://github.com/rails/rails/pull/8468

Upvotes: 1

Related Questions