Sha256: 3b62cb14e14dc21ed6f4894d90a9abfa6772b620829ceb5b16ceffa55a95bbb7

Contents?: true

Size: 549 Bytes

Versions: 21

Compression:

Stored size: 549 Bytes

Contents

require 'haml'
require 'will_paginate'
require 'will_paginate/view_helpers/action_view'

module Bhf
  class Engine < Rails::Engine

    # Config defaults
    config.page_title = nil
    config.mount_at = 'bhf'
    config.on_login_fail = :root_url
    config.session_auth_name = :is_admin
    config.current_admin_account = nil
    config.css = []
    
    
    # config.bhf_logic = YAML::load(IO.read('config/bhf.yml'))

    initializer 'static assets' do |app|
      app.middleware.use ::ActionDispatch::Static, "#{root}/public"
    end

  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
bhf-0.3.10 lib/engine.rb
bhf-0.3.9 lib/engine.rb
bhf-0.3.8 lib/engine.rb
bhf-0.3.7 lib/engine.rb
bhf-0.3.6.4 lib/engine.rb
bhf-0.3.6.3 lib/engine.rb
bhf-0.3.6.2 lib/engine.rb
bhf-0.3.6.1 lib/engine.rb
bhf-0.3.5 lib/engine.rb
bhf-0.3.4 lib/engine.rb
bhf-0.3.3 lib/engine.rb
bhf-0.3.2 lib/engine.rb
bhf-0.3.1 lib/engine.rb
bhf-0.3.0 lib/engine.rb
bhf-0.2.9 lib/engine.rb
bhf-0.2.8 lib/engine.rb
bhf-0.2.7 lib/engine.rb
bhf-0.2.6 lib/engine.rb
bhf-0.2.5 lib/engine.rb
bhf-0.2.4 lib/engine.rb