Sha256: d318e23ad482cfef75b9f304a425ee3ccbca78c3bfe0ca8b95ec4557fe142cff

Contents?: true

Size: 229 Bytes

Versions: 3

Compression:

Stored size: 229 Bytes

Contents

module Formol
  class Admin::AdminController < ApplicationController
    before_filter :authorize_admin
    
    protected
    
    def authorize_admin
      formol_authorize!(current_formol_user, :administrate)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 app/controllers/formol/admin/admin_controller.rb
formol-0.0.5 app/controllers/formol/admin/admin_controller.rb
formol-0.0.4 app/controllers/formol/admin/admin_controller.rb