zeitwerk: Url -> URL
This commit is contained in:
parent
150ddab660
commit
7d1c79bf4b
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
module NoticeUrlHelper
|
module NoticeURLHelper
|
||||||
def notice_url(procedure)
|
def notice_url(procedure)
|
||||||
if procedure.notice.attached?
|
if procedure.notice.attached?
|
||||||
url_for(procedure.notice)
|
url_for(procedure.notice)
|
||||||
|
|
|
@ -10,6 +10,7 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||||
# inflect.uncountable %w( fish sheep )
|
# inflect.uncountable %w( fish sheep )
|
||||||
inflect.acronym 'API'
|
inflect.acronym 'API'
|
||||||
inflect.acronym 'RNA'
|
inflect.acronym 'RNA'
|
||||||
|
inflect.acronym 'URL'
|
||||||
inflect.irregular 'type_de_champ', 'types_de_champ'
|
inflect.irregular 'type_de_champ', 'types_de_champ'
|
||||||
inflect.irregular 'type_de_champ_private', 'types_de_champ_private'
|
inflect.irregular 'type_de_champ_private', 'types_de_champ_private'
|
||||||
inflect.irregular 'procedure_revision_type_de_champ', 'procedure_revision_types_de_champ'
|
inflect.irregular 'procedure_revision_type_de_champ', 'procedure_revision_types_de_champ'
|
||||||
|
|
Loading…
Add table
Reference in a new issue