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 |
||
---|---|---|
.. | ||
answer | ||
appendable | ||
concerns | ||
list | ||
notification | ||
question | ||
relationships | ||
reports | ||
services | ||
user | ||
.keep | ||
announcement.rb | ||
anonymous_block.rb | ||
answer.rb | ||
appendable.rb | ||
application_record.rb | ||
comment.rb | ||
inbox.rb | ||
list.rb | ||
list_member.rb | ||
mute_rule.rb | ||
notification.rb | ||
profile.rb | ||
question.rb | ||
relationship.rb | ||
report.rb | ||
role.rb | ||
service.rb | ||
subscription.rb | ||
theme.rb | ||
totp_recovery_code.rb | ||
user.rb | ||
user_ban.rb |