Remove useless destroy methods
This commit is contained in:
1 parent
cbe3ccc6fe
commit
cf4a6c0b35
2 files changed
-3
No files matched your search
@@ -60,7 +60,6 @@ class Admin::LinksController < ApplicationController
|
||||
def destroy
|
||||
@item = Link.find(params[:id])
|
||||
@item.destroy
|
||||
@item.destroy_i18n_variable
|
||||
respond_to do |format|
|
||||
format.html {
|
||||
redirect_to admin_items_url
|
||||
|
||||
Reference in new issue
Block a user