heroku - Rails 500 Error Visiting Resources -
this question has answer here:
on localhost, app works fine. on production server (heroku) when visit resources page: http://startupcrawler.com/startups
500 error.
here's routes.rb:
startupcrawlerruby::application.routes.draw resources :startups "home/index" root to: 'home#index' end
and on production server, here's when run rake routes
:
prefix verb uri pattern controller#action startups /startups(.:format) startups#index post /startups(.:format) startups#create new_startup /startups/new(.:format) startups#new edit_startup /startups/:id/edit(.:format) startups#edit startup /startups/:id(.:format) startups#show patch /startups/:id(.:format) startups#update put /startups/:id(.:format) startups#update delete /startups/:id(.:format) startups#destroy home_index /home/index(.:format) home#index root /
anything else should check fix problem?
run heroku logs -t
within project dir , try visit resource.
Comments
Post a Comment