Remove obsolete resource method in controllers
This method was used by controllers using the `Translatable` concern. We
forgot to remove it in commit 71601bd3f.
This commit is contained in:
@@ -15,10 +15,6 @@ class Admin::SiteCustomization::InformationTextsController < Admin::SiteCustomiz
|
||||
|
||||
private
|
||||
|
||||
def resource
|
||||
I18nContent.find(content_params[:id])
|
||||
end
|
||||
|
||||
def content_params
|
||||
params.require(:contents).values
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user