app/controllers/knitkit/unauthorized_controller.rb in knitkit-2.0.0 vs app/controllers/knitkit/unauthorized_controller.rb in knitkit-2.0.1
- old
+ new
@@ -1,6 +1,11 @@
module Knitkit
class UnauthorizedController < BaseController
+
+ def index
+ @current_user = nil
+ end
+
#no section to set
def set_section
return false
end
end