I need to access to params inside my concern
module UrlGenerator extend ActiveSupport::Concern def test params[:slug] end end
How can i do? Thanks
Aucun commentaire:
Enregistrer un commentaire