lib/iugusdk/engine.rb in iugusdk-1.0.0.alpha.5 vs lib/iugusdk/engine.rb in iugusdk-1.0.0.alpha.7

- old
+ new

@@ -2,11 +2,16 @@ class Engine < Rails::Engine initializer "iugusdk.load_app_root" do |app| IuguSDK.app_root = app.root + app.class.configure do + config.paths['db/migrate'] += IuguSDK::Engine.paths['db/migrate'].existent + end - app.config.middleware.insert_before( app.config.session_store, SessionParameterMiddleware, app.config.session_options[:key]) + #app.config.middleware.insert_before( app.config.session_store, SessionParameterMiddleware, app.config.session_options[:key]) + # app.middleware.insert_before( app.config.session_store, IuguSDK::SessionParameterMiddleware, app.config.session_options[:key]) + # config.middleware.insert_before( ActionDispatch::Session::CookieStore, SessionParameterMiddleware, app.config.session_options[:key] ) end initializer 'iugusdk.action_controller' do |app| ActiveSupport.on_load(:action_controller) do