lib/puffer/extensions/mapper.rb in puffer-0.0.24 vs lib/puffer/extensions/mapper.rb in puffer-0.0.25

- old
+ new

@@ -20,10 +20,10 @@ puffer_resources(*Marshal.load(Marshal.dump(resources)), &block) || resources_without_puffer(*resources, &block) end def puffer_controller controller if controller.configuration.group - puffer = Rails.application.routes.puffer + puffer = ::Rails.application.routes.puffer namespace = @scope[:module] unless puffer[namespace] @scope[:module] = 'admin' root :to => 'dashboard#index'