I am deploying my rails app on heroku and i was facing an issue.
I get this error
2015-04-28T05:10:29.159894+00:00 heroku[router]: at=info method=GET path="/welcome/index" host=still-dawn-6484.herokuapp.com request_id=45bf4295-d7f0-4788-9f4d-be35cce41aa1 fwd="108.183.45.173" dyno=web.1 connect=0ms service=11ms status=500 bytes=1754
My route file
Rails.application.routes.draw do
get 'welcome/index', to: 'welcome#index'
post 'welcome/index', to: 'welcome#create'
get 'welcome/new', to: 'welcome#new'
end
root 'welcome#index'
– Gagan Gami Apr 28 at 5:16welcome#index
code? Also, make sure you have ran your migrations – RAJ Apr 28 at 5:22rake routes
? Is this working in your development mode properly? I don't think so it should work on development. Check you have created your template for each method. GenerallyError 500
forActionView::MissingTemplate
– Gagan Gami Apr 28 at 5:46