app/views/layouts/hackathon_manager/application.html.haml in hackathon_manager-0.13.12 vs app/views/layouts/hackathon_manager/application.html.haml in hackathon_manager-0.14.0
- old
+ new
@@ -1,13 +1,13 @@
!!! 5
%html
%head
- %title= yield(:title) || Rails.configuration.hackathon['default_page_title']
+ %title= yield(:title) || HackathonConfig['default_page_title']
%meta{ charset: "utf-8" }
%meta{ name:"viewport", content: "width=device-width, initial-scale=1" }
- - if Rails.configuration.hackathon['favicon_asset'].present?
- %link{ href: image_url(Rails.configuration.hackathon['favicon_asset']), rel: "shortcut icon" }
+ - if HackathonConfig['favicon_asset'].present?
+ %link{ href: image_url(HackathonConfig['favicon_asset']), rel: "shortcut icon" }
= stylesheet_link_tag "hackathon_manager/core", media: "all"
= csrf_meta_tags
%body