Remove unnecessary html_safe in paths

Paths are just regular strings with no HTML, so they don't need to be
marked as safe HTML.
This commit is contained in:
Javi Martín
2019-10-01 15:16:45 +02:00
parent 20ca6beb30
commit 031b5aba63
4 changed files with 6 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ class Admin::Legislation::QuestionsController < Admin::Legislation::BaseControll
private
def question_path
legislation_process_question_path(@process, @question).html_safe
legislation_process_question_path(@process, @question)
end
def question_params