Permalink
Browse files

rewind changes in settings controller

  • Loading branch information...
jokklan authored and simi committed Mar 31, 2013
1 parent be0e6fc commit 68f1a3a1ff538e5be4f7547bc824c22e2f9f8f13
Showing with 0 additions and 5 deletions.
  1. +0 −5 app/controllers/refinery/admin/settings_controller.rb
@@ -1,7 +1,6 @@
module ::Refinery
module Admin
class SettingsController < ::Refinery::AdminController
- before_filter :interface_enabled?
helper "refinery/admin/settings"
@@ -42,10 +41,6 @@ def search_all_settings
@settings = find_all_settings.with_query(term)
end
- def interface_enabled?
- redirect_to refinery.admin_root_path unless Refinery::Settings.enable_interface
- end
-
private
def redirect_to_where?
(from_dialog? && session[:return_to].present?) ? session[:return_to] : refinery.admin_settings_path

0 comments on commit 68f1a3a

Please sign in to comment.