Sha256: 11efb4616e37f0d858eb4e978ea93f1facacf7cfff490531295de914f1cb68c4
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
module RailsAdminSettings class Engine < ::Rails::Engine initializer 'RailsAdminSettings Install after_filter' do |app| require File.dirname(__FILE__) + '/../../app/models/rails_admin_settings/setting.rb' if defined?(ActionController) and defined?(ActionController::Base) ActionController::Base.class_eval do after_filter { Settings.unload! } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_admin_settings-0.5.0 | lib/rails_admin_settings/engine.rb |
rails_admin_settings-0.4.3 | lib/rails_admin_settings/engine.rb |