Module: Cms::RoleAuthentication
- Included in:
- MainController
- Defined in:
- lib/liquid_cms/role_authentication.rb
Instance Method Summary collapse
Instance Method Details
#authenticate_user(role, action_options = {}) ⇒ Object
3 4 5 |
# File 'lib/liquid_cms/role_authentication.rb', line 3 def authenticate_user(role, = {}) before_filter() {|controller| controller.(role)} end |