lib/nyauth/engine.rb in nyauth-0.2.5 vs lib/nyauth/engine.rb in nyauth-0.2.6
- old
+ new
@@ -15,7 +15,11 @@
g.test_framework :rspec, fixture: false
g.fixture_replacement :factory_girl, dir: 'spec/factories'
g.assets false
g.helper false
end
+
+ initializer 'nyauth.add_middleware' do |app|
+ app.middleware.use Nyauth::Middleware
+ end
end
end