diff --git a/app/views/user/show.haml b/app/views/user/show.haml index 2a687666..eab00a1c 100644 --- a/app/views/user/show.haml +++ b/app/views/user/show.haml @@ -10,7 +10,8 @@ %button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @answers_last_id } } = t 'views.actions.load' -- provide(:title, user_title(@user)) -- provide(:og, user_opengraph(@user)) -- provide(:meta, user_twitter_card(@user)) -- parent_layout 'user/profile' +:ruby + provide(:title, user_title(@user)) + provide(:og, user_opengraph(@user)) + provide(:meta, user_twitter_card(@user)) + parent_layout 'user/profile'