Permalink
Browse files

Not sure why that period was there

  • Loading branch information...
1 parent 786e17f commit 884e0d8245e28e3cbf5424df97be056fec92a27c @skalnik skalnik committed Jun 30, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/api_keys_controller.rb
@@ -5,15 +5,15 @@ class APIKeysController < ApplicationController
def create
current_user.enable_api!
- respond_to.do |format|
+ respond_to do |format|
format.html { redirect_to edit_user_path(current_user) }
end
end
def destroy
current_user.disable_api!
- respond_to.do |format|
+ respond_to do |format|
format.html { redirect_to edit_user_path(current_user) }
end
end

0 comments on commit 884e0d8

Please sign in to comment.