Sha256: 6952309544ccd2bd39647c10b0d929f08b1769966b218ca75a97817d1535fa23

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

require "rateit/version"

module Rateit
  module Rails
    class Engine < ::Rails::Engine
    end
  end
  
  class Railtie < ::Rails::Railtie
    initializer "rateit.action_view" do |app|
      ActiveSupport.on_load :action_view do
        require 'rateit/view_helpers/action_view'
        include Rateit::ViewHelpers::ActionView
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-rateit-0.2 lib/rails-rateit.rb
rails-rateit-0.1 lib/rails-rateit.rb