Skip to content

Commit e51a1f8

Browse files
committed
Move meta_tags partial to shared folder
1 parent e4884ab commit e51a1f8

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

β€Žapp/views/errors/error.html.hamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
!!!
22
%html
33
%head
4-
= render partial: 'meta_tags'
4+
= render partial: 'shared/meta_tags'
55
= favicon_link_tag 'favicon.ico'
66
%title codebar.io - Page not found
77
:css

β€Žapp/views/errors/not_found.html.hamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
!!!
22
%html
33
%head
4-
= render partial: 'meta_tags'
4+
= render partial: 'shared/meta_tags'
55
= favicon_link_tag 'favicon.ico'
66
%title codebar.io - Page not found
77
:css

β€Žapp/views/layouts/application.html.hamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- if content_for? :meta_tags
1212
= yield :meta_tags
1313
- else
14-
= render partial: 'layouts/meta_tags'
14+
= render partial: 'shared/meta_tags'
1515

1616
%link{ rel: 'icon', sizes: '196x196', href: '/Icon-196.png'}
1717
%link{ rel: 'icon', sizes: '128x128', href: '/Icon-128.png'}

β€Žapp/views/virtual_workshops/show.html.hamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- title t('workshops.virtual.title_with_date', chapter: @workshop.chapter.name, date: humanize_date(@workshop.date_and_time))
22

3-
= render partial: 'meta_tags', locals: { workshop: @workshop }
3+
= render partial: 'workshops/meta_tags', locals: { workshop: @workshop }
44

55
.container.py-4.py-lg-5
66
.row

0 commit comments

Comments
Β (0)