Fixed User CP cancel button and cleaned user views

This commit is contained in:
ricky committed 2013-01-24 12:57:04 -05:00
1 parent 0fe499b701
commit f6d82fc596
9 files changed
+82 -61

No files matched your search

-6
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