]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Use the slim layout on the login page
[rails.git] / app / controllers / user_controller.rb
index 1862ee1be051e4b47c321b04bf3ad946714514af..52c3deac806eec55dba6ca5d198f9f7b65f00d53 100644 (file)
@@ -1,5 +1,6 @@
 class UserController < ApplicationController
-  layout 'site', :except => :api_details
+  layout 'site', :except => [:api_details, :login]
+  layout 'slim', :only => :login
 
   before_filter :authorize, :only => [:api_details, :api_gpx_files]
   before_filter :authorize_web, :except => [:api_details, :api_gpx_files]