Sha256: 9cc89215c00076126bbcffe30e5ee2bf51dce23c5e3e270e932a3799ebbe4074

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

FeatherCms::Config.init do |c|
  c.template_store_path = 'public/system/templates'
  c.template_store_type = :<%= @storage %> 

  #Note: For basic authentication
  c.authentication = {name: 'feather', password: 'password'}
  #Note: For before filter
  #c.authentication = :authenticate_user!
  
  #c.template_extenstion = 'html'   #default : html
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
feather_cms-0.0.4 lib/generators/feather_cms/templates/initializer.rb
feather_cms-0.0.3 lib/generators/feather_cms/templates/initializer.rb