test/rails_app/app/controllers/users_controller.rb in devise-3.0.0.rc vs test/rails_app/app/controllers/users_controller.rb in devise-3.0.0
- old
+ new
@@ -6,9 +6,17 @@
def index
user_session[:cart] = "Cart"
respond_with(current_user)
end
+ def edit_form
+ user_session['last_request_at'] = 31.minutes.ago.utc
+ end
+
+ def update_form
+ render :text => 'Update'
+ end
+
def accept
@current_user = current_user
end
def exhibit