From d6478abcf9031d3dee949ec708c5ec49dbcf2adb Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Sat, 17 Aug 2019 18:33:23 +0530 Subject: [PATCH] Fix rubocop issue --- app/views/admin/booth_types/_form.html.haml | 2 +- app/views/admin/booth_types/index.html.haml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/booth_types/_form.html.haml b/app/views/admin/booth_types/_form.html.haml index a9ebb1f0..4b861f19 100644 --- a/app/views/admin/booth_types/_form.html.haml +++ b/app/views/admin/booth_types/_form.html.haml @@ -4,7 +4,7 @@ %h1 - if booth_type.new_record? New - #{(t'booth').capitalize} Type + #{(t 'booth').capitalize} Type = booth_type.title .row .col-md-12 diff --git a/app/views/admin/booth_types/index.html.haml b/app/views/admin/booth_types/index.html.haml index a85d4c56..ace6efc3 100644 --- a/app/views/admin/booth_types/index.html.haml +++ b/app/views/admin/booth_types/index.html.haml @@ -1,7 +1,7 @@ .row .col-md-12 .page-header - %h1 #{(t'booth').capitalize} Types + %h1 #{(t 'booth').capitalize} Types %p.text-muted The different types of #{(t 'booth').pluralize} in your conference .row @@ -26,4 +26,4 @@ method: :delete, class: 'btn btn-danger', data: { confirm: "Do you really want to delete #{booth_type.title}?" } .row .col-md-12.text-right - = link_to "Add #{(t'booth').capitalize} Type", new_admin_conference_program_booth_type_path(@conference.short_title), class: 'btn btn-primary' + = link_to "Add #{(t 'booth').capitalize} Type", new_admin_conference_program_booth_type_path(@conference.short_title), class: 'btn btn-primary'