Class: PublisherPolicy

Inherits:
ApplicationPolicy show all
Defined in:
app/policies/publisher_policy.rb

Defined Under Namespace

Classes: Scope

Instance Attribute Summary

Attributes inherited from ApplicationPolicy

#record, #user

Instance Method Summary collapse

Methods inherited from ApplicationPolicy

#create?, #destroy?, #edit?, #index?, #initialize, #new?, #scope, #show?, #update?

Constructor Details

This class inherits a constructor from ApplicationPolicy

Instance Method Details

#search?Boolean

Returns:

  • (Boolean)

3
# File 'app/policies/publisher_policy.rb', line 3

def search?; true; end