Sha256: cf016362e2559a2f3a354055bfe7a03ba6aea914dd96225e2373e7486ae03b5a

Contents?: true

Size: 927 Bytes

Versions: 2

Compression:

Stored size: 927 Bytes

Contents

WizardOfAwes.configure do |config|
  # == User Authorization
  #
  # Wizard Of Awes will automatically call this method
  # in a before filter of the content editor controller actions to
  # ensure that there is a currently logged in helper user.
  #
  # Also, if the user is a helper user, any helper snippets will have quick edit links
  #
  # This setting changes the method which Wizard Of Awes calls
  # within the controller.
  #
  # If this is not specified, nobody will be able to add snippets
  #
  # It needs to have one method:
  # 
  # 'woa_authorize' ## This should return true if the user is ok or redirect if they aren't
  #
  # config.helper_auth = 'WizardOfAwes::HelperAuth'

  # Default url to access admin area is http://yourhost/woa-snippets/
  # You can change 'woa-snippets' to anything you want. To disable this area
  # entirely set this to '' or nil
  # config.snippet_route_prefix = 'woa-snippets'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wizard_of_awes-0.0.2 lib/generators/wizard_of_awes/install/templates/wizard_of_awes.rb.erb
wizard_of_awes-0.0.1 lib/generators/wizard_of_awes/install/templates/wizard_of_awes.rb.erb