Use the slim layout on the login page

This commit is contained in:
Andy Allan 2011-01-27 14:53:59 +00:00 committed by Tom Hughes
parent 873fe81f71
commit 5531c0bf34

View 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]