app/controllers/admin/readers_controller.rb in radiant-reader-extension-3.0.35 vs app/controllers/admin/readers_controller.rb in radiant-reader-extension-3.0.36

- old
+ new

@@ -1,9 +1,8 @@ class Admin::ReadersController < Admin::ResourceController helper :reader paginate_models - before_filter :redirect_to_user, :only => :edit only_allow_access_to :new, :create, :edit, :update, :remove, :destroy, :settings, :when => :admin, :denied_url => { :controller => 'pages', :action => 'index' }, :denied_message => 'You must be an administrator to add or modify readers' @@ -16,14 +15,6 @@ response_for :create end private - def redirect_to_user - if model.is_user? - redirect_to edit_admin_user_url(model.user) - return false - end - true - end - end \ No newline at end of file