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:
@@ -45,8 +45,4 @@ class Admin::Legislation::DraftVersionsController < Admin::Legislation::BaseCont
|
||||
def allowed_params
|
||||
[:status, :final_version, translation_params(Legislation::DraftVersion)]
|
||||
end
|
||||
|
||||
def resource
|
||||
@draft_version
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user