app/controllers/tenon/base_controller.rb in tenon-1.0.33 vs app/controllers/tenon/base_controller.rb in tenon-1.0.35

- old
+ new

@@ -5,10 +5,10 @@ before_filter :set_title before_filter :require_admin, unless: :devise_controller? rescue_from CanCan::AccessDenied do |exception| flash[:warning] = 'You are not authorized to access that page.' - redirect_to '/tenon' + redirect_to root_path end private def layout_for_resource