Permalink
Browse files

Do not prepend load_resource before filter in resources controller.

This fixes an issue using Authlogic as custom user authentication.

Merges #1635
  • Loading branch information...
1 parent 5b0a5dd commit 62b5ff3dcb68309e2bc76b8039a93f2d6b411957 Thomas von Deyen committed with radar Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/controllers/spree/admin/resource_controller.rb
@@ -2,7 +2,7 @@
class Spree::Admin::ResourceController < Spree::Admin::BaseController
helper_method :new_object_url, :edit_object_url, :object_url, :collection_url
- prepend_before_filter :load_resource
+ before_filter :load_resource
rescue_from ActiveRecord::RecordNotFound, :with => :resource_not_found
respond_to :html

0 comments on commit 62b5ff3

Please sign in to comment.