mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 20:49:08 +01:00
66efa5d4f4
- replace `match` with `get`/`post`/`patch`/`delete` - format routes.rb - rename the `show_user_{profile,question,answer}` routes to `profile`, `question`, `answer` so `url_for` (used by Rails Admin) works fine for these things - also add `to_param` to the `User` model so that `url_for(some_user)` uses the user name
8 lines
403 B
Text
8 lines
403 B
Text
.card.question--fixed{ class: hidden ? 'question--hidden' : '', tabindex: hidden ? -1 : '', aria: { hidden: hidden } }
|
|
.container
|
|
.card-body
|
|
.media
|
|
%a.pull-left{ href: user_path(user) }
|
|
%img.answerbox__question-user-avatar.avatar-md{ src: user.profile_picture.url(:medium) }
|
|
.media-body
|
|
= t(".title_html", screen_name: user.screen_name, user_id: user.id)
|