diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -5,6 +5,8 @@ verify :method => :post, :only => [:submit], :redirect_to => { :action => :index } + layout 'application' + def index redirect_to :action => 'login' end