diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9cab286..ec25df9 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2,7 +2,7 @@ module ApplicationHelper def git_hash - exec 'git rev-parse --short HEAD' + `git rev-parse HEAD`.chomp end def meta_description diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 49efac7..7c685ee 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,7 +20,7 @@ - + @@ -33,8 +33,9 @@ <%= render partial: 'layouts/navbar' %> - <%= render AlertComponent.new(content: alert) if alert %> - <%= render NoticeComponent.new(content: notice) if notice %> + <%# idk what's wrong, but these spit out errors %> + <%# render AlertComponent.new(content: alert) if alert %> + <%# render NoticeComponent.new(content: notice) if notice %>
<%= yield %>