Sha256: f09d2cfd1a7eb7f6a2598388fc38042f3aabcd94f486e5495d2313f85f879536

Contents?: true

Size: 608 Bytes

Versions: 9

Compression:

Stored size: 608 Bytes

Contents

require 'rails'
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

9 entries across 9 versions & 1 rubygems

Version Path
e9_polls-1.0.10 lib/e9_polls.rb
e9_polls-1.0.9 lib/e9_polls.rb
e9_polls-1.0.8 lib/e9_polls.rb
e9_polls-1.0.7 lib/e9_polls.rb
e9_polls-1.0.6 lib/e9_polls.rb
e9_polls-1.0.5 lib/e9_polls.rb
e9_polls-1.0.4 lib/e9_polls.rb
e9_polls-1.0.3 lib/e9_polls.rb
e9_polls-1.0.2 lib/e9_polls.rb