Sha256: d09f183002f5707e1f6530396924bf6a922c2999ab713aab39637a38d55aa7d1
Contents?: true
Size: 545 Bytes
Versions: 2
Compression:
Stored size: 545 Bytes
Contents
module Federails module Server class ServerController < Federails::ApplicationController protect_from_forgery with: :null_session # def policy_scope(scope, policy_scope_class: nil) # scope = [scope, :server] unless policy_scope_class # super(scope, policy_scope_class: policy_scope_class) # end # def authorize(record, query = nil, policy_class: nil) # record = [:server, record] unless policy_class # super(record, query, policy_class: policy_class) # end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
federails-0.2.0 | app/controllers/federails/server/server_controller.rb |
federails-0.1.0 | app/controllers/federails/server/server_controller.rb |