Sha256: 1a213acacedb650c5f008c59d0351f4985a486181437ab256d8551a918765141

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

require 'rails'

require File.dirname(__FILE__) + '/../../app/helpers/flash_message_helper.rb'

module Strappy
  class Engine < ::Rails::Engine
    initializer 'strappy.setup_helpers' do |app|
      app.config.to_prepare do
        ActionController::Base.send :helper, FlashMessageHelper
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
strappy-0.0.02 lib/strappy/engine.rb