]> git.openstreetmap.org Git - rails.git/commitdiff
Use the slim layout on the login page
authorAndy Allan <andy@gravitystorm.co.uk>
Thu, 27 Jan 2011 14:53:59 +0000 (14:53 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 3 Apr 2011 12:46:16 +0000 (13:46 +0100)
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]