Sha256: 09ba032d6b82fba45973f9e39dc0c18f26c9a5fae924802e69109c1de9cf6cb8

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

require 'e9_base'

module E9Polls
  autoload :VERSION,    'e9_polls/version'
  autoload :Model,      'e9_polls/model' 

  mattr_accessor :fallback_html_layout
  @@fallback_html_layout = 'application'

  mattr_accessor :cookie_name
  @@cookie_name = 'e9_polls'

  mattr_accessor :bar_css_class_count
  @@bar_css_class_count = 5

  class Engine < ::Rails::Engine
    config.e9_crm = E9Polls

    initializer 'e9_polls.include_base_helper' do
      ActiveSupport.on_load(:action_view) do
        require 'e9_polls/global_helper'
        include E9Polls::GlobalHelper
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
e9_polls-1.0.1 lib/e9_polls.rb