Displaying 1 result from an estimated 1 matches for "admin_layout".
2006 Jan 23
2
UserEngine -- Permission.synchronize_with_controllers -- trouble with my own controller modules
...in_engine''
class ApplicationController < ActionController::Base
include LoginEngine
include UserEngine
helper :user
model :user
before_filter :authorize_action
end
Example of one of my admin controllers.
class Admin::PlayersController < ApplicationController
layout "admin_layout"
#... methods here (I have several methods defined here, but figured
no one really cared to see them all ...
end
-- James