Use :ruby filter in user/show

This commit is contained in:
Karina Kwiatek 2021-08-06 13:52:11 +02:00
parent cf4d6bd100
commit 5b087cde3c
1 changed files with 5 additions and 4 deletions

View File

@ -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'