module Georgia
  class ApplicationController < ActionController::Base

    # Required otherwise get the error 'uninitialized Ability'
    # require 'devise'

    helper 'georgia/ui'
    helper 'georgia/internationalization'
    helper 'georgia/form_actions'
    helper 'georgia/routes'

    protect_from_forgery
    
    before_filter :authenticate_user!, except: :login
    
    def login
      render 'users/sessions/new'
    end

    def current_ability
      @current_ability ||= Georgia::Ability.new(current_user)
    end
    
  end
end

module Georgia
  class ApplicationController < ActionController::Base

    # Required otherwise get the error 'uninitialized Ability'
    # require 'devise'

    layout 'georgia/application'
    helper 'georgia/ui'
    helper 'georgia/internationalization'
    helper 'georgia/form_actions'
    helper 'georgia/routes'

    protect_from_forgery
    
    before_filter :authenticate_user!, except: :login
    
    def login
      render 'users/sessions/new'
    end

    def current_ability
      @current_ability ||= Georgia::Ability.new(current_user)
    end
    
  end
end

Set the layout on application
Set the layout on application
