14 lines
303 B
Ruby
14 lines
303 B
Ruby
module LegislationHelper
|
|
def format_date(date)
|
|
l(date, format: "%d %b %Y") if date
|
|
end
|
|
|
|
def format_date_for_calendar_form(date)
|
|
l(date, format: "%d/%m/%Y") if date
|
|
end
|
|
|
|
def legislation_question_path(question)
|
|
legislation_process_question_path(question.process, question)
|
|
end
|
|
end
|