test/rails_app/app/controllers/home_controller.rb in devise-1.1.9 vs test/rails_app/app/controllers/home_controller.rb in devise-1.2.rc
- old
+ new
@@ -2,6 +2,15 @@
def index
end
def private
end
+
+ def set
+ session["devise.foo_bar"] = "something"
+ head :ok
+ end
+
+ def unauthenticated
+ render :text => "unauthenticated", :status => :unauthorized
+ end
end