Sha256: 8e02def0d35e7a3f672e7c120bb1317d5cbe4488380b9687c244e801ee110077

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

module SeparateViews
  class Railtie < Rails::Railtie
    initializer 'separate_views' do
      ActiveSupport.on_load :action_controller do
        ActionController::Base.send :include, SeparateViews::Base
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
separate_views-0.2.0 lib/separate_views/railtie.rb