Sha256: 32ecf97a5bc2e638bc3e0f389cb11c53d66a0cf8327ba9b44282b1eb1ad04a78

Contents?: true

Size: 883 Bytes

Versions: 8

Compression:

Stored size: 883 Bytes

Contents

HowTo.configure do |config|
  #to enable rich text editor make the following line uncommented with the value true
  #HowTo uses mercury  <https://github.com/jejacks0n/mercury> for rich text editor
  #You have to install mercury to your application
  config.rich_text_enabled = true


  # You can override the layout name
  #
  #config.layout_name = 'application'


  #in your application controller:
  # def authorize_to_manage_how_to
  #  redirect_to :somewhere_else unless <condition>
  # end
  #
  #config.authorization_method_to_manage = :authorize_to_manage_how_to!
  #
  # if you want to set some permission to vew the how to then you can set a method name and define it as like  authorization_method_to_manage
  #
  #config.authorization_method_to_view = nil #nil allows everybody to vew the how lo page
  #config.permitted_to_manage_how_to = :permitted_to_manage_how_to?
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
how_to-0.0.8 test/dummy/config/initializers/how_to_config.rb
how_to-0.0.7 test/dummy/config/initializers/how_to_config.rb
how_to-0.0.6 test/dummy/config/initializers/how_to_config.rb
how_to-0.0.5 test/dummy/config/initializers/how_to_config.rb
how_to-0.0.4 test/dummy/config/initializers/how_to_config.rb
how_to-0.0.3 test/dummy/config/initializers/how_to_config.rb
how_to-0.0.2 test/dummy/config/initializers/how_to_config.rb
how_to-0.0.1 test/dummy/config/initializers/how_to_config.rb