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:
Marko Lovic
2018-08-06 16:29:15 +02:00
committed by Javi Martín
parent 3c4f221e04
commit 54d0068134

View File

@@ -33,15 +33,6 @@ class Admin::SiteCustomization::InformationTextsController < Admin::SiteCustomiz
private 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 def resource
I18nContent.find(content_params[:id]) I18nContent.find(content_params[:id])
end end