Fixed User CP cancel button and cleaned user views
This commit is contained in:
1 parent
0fe499b701
commit
f6d82fc596
9 files changed
+82
-61
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user