Remove unused code
This method has never been used as far as I've been able to tell from the git history.
This commit is contained in:
@@ -33,15 +33,6 @@ class Admin::SiteCustomization::InformationTextsController < Admin::SiteCustomiz
|
||||
|
||||
private
|
||||
|
||||
def i18n_content_params
|
||||
attributes = [:key, :value]
|
||||
params.require(:information_texts).permit(*attributes, translation_params(params[:information_texts]))
|
||||
end
|
||||
|
||||
def resource_model
|
||||
I18nContent
|
||||
end
|
||||
|
||||
def resource
|
||||
I18nContent.find(content_params[:id])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user