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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user