Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails missing template

I get this when I try and run my view:

Missing template application/login with {:formats=>[:html], :locale=>[:en], :handlers=>[:coffee, :erb, :builder]}. Searched in: * "/home/carladessi/Goods In Final/app/views" 

in my controller I have:

def login

  # respond_to do |format|
  # format.html

end

and in my routes I have:

match "/login/", :controller => 'application',  :action => 'login'

I'm guessing I need to put something else in the controller I just don't know what.. sorry if this is a really blatant question!

like image 240
Carla Dessi Avatar asked Jul 04 '12 15:07

Carla Dessi


1 Answers

Restarted the server and it works fine !

like image 191
Carla Dessi Avatar answered Sep 22 '22 06:09

Carla Dessi