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:
Javi Martín
2024-11-08 14:50:41 +01:00
parent e850ae2ff9
commit c1fbcb4e0f
8 changed files with 0 additions and 32 deletions

View File

@@ -26,8 +26,4 @@ class Admin::Legislation::HomepagesController < Admin::Legislation::BaseControll
def allowed_params
[:homepage, :homepage_enabled, translation_params(::Legislation::Process)]
end
def resource
@process || ::Legislation::Process.find(params[:id])
end
end