I have two Helpers
, ExamsHelper
and ResultsHelper
exams_helper.rb
module ExamsHelper
def get_data
...
end
end
results_helper.rb
module ResultsHelper
def find_result
...
end
end
Is it possible to access the get_data
method in ResultsHelper
.
I know that if I am declaring it on the ApplicationHelper
, I can access it. Is there any other solution for it?
Aucun commentaire:
Enregistrer un commentaire