Module: Mercury::Authentication

Included in:
EditableContent::ApplicationHelper, EditableContent::EditablesController
Defined in:
lib/mercury/authentication.rb,
lib/generators/editable_content/install/templates/lib/mercury/authentication.rb

Instance Method Summary collapse

Instance Method Details

#can_edit?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/mercury/authentication.rb', line 4

def can_edit?
  true # check here to see if the user is logged in/has access
end