Fixed User CP cancel button and cleaned user views

This commit is contained in:
2013-01-24 12:57:04 -05:00
parent 0fe499b701
commit f6d82fc596
9 changed files with 82 additions and 61 deletions

View File

@@ -93,10 +93,4 @@ class UsersController < ApplicationController
redirect_to root_path
end
end
def check_for_cancel
if params[:commit] == 'cancel'
redirect_to :back
end
end
end