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:
@@ -55,8 +55,4 @@ class Admin::Legislation::QuestionsController < Admin::Legislation::BaseControll
|
||||
translation_params(::Legislation::QuestionOption)]
|
||||
]
|
||||
end
|
||||
|
||||
def resource
|
||||
@question || ::Legislation::Question.find(params[:id])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user