lib/martinet/rails/railtie.rb in martinet-rails-0.0.1 vs lib/martinet/rails/railtie.rb in martinet-rails-0.0.2
- old
+ new
@@ -1,7 +1,7 @@
module Martinet
module Rails
- class Railtie < Rails::Railtie
+ class Railtie < ::Rails::Railtie
# TODO: Test me
initializer 'martinet.setup_warden-manager' do |app|
app.middleware.use Warden::Manager do |config|
config.serialize_into_session do |user|
Serializer.serialize(record: user)