Commit Graph

8 Commits

Author SHA1 Message Date
Georg Gadinger 66efa5d4f4 clean up routes
- 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
2022-07-23 12:14:06 +02:00
Karina Kwiatek 15052e203e Appease the dog overlords 2022-06-23 21:29:27 +02:00
Karina Kwiatek d1ad34eb9c Apply anon display name settings to question author display 2022-06-23 21:29:27 +02:00
Karina Kwiatek 683fffd734 Add the ability to post to services with a tag 2022-01-05 19:49:59 +01:00
Andreas Nedbal a1ba1a8082
Apply review suggestion from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2021-12-26 23:41:23 +01:00
Andreas Nedbal 08a0f2e1ca Don't include `Rails.application.routes.url_helpers` in `SocialHelper::`
It badly trips up things
2021-12-26 22:40:27 +01:00
Andreas Nedbal ed64a0990e Move tumblr post formatting into a separate helper class 2021-12-26 22:04:46 +01:00
Andreas Nedbal b64b039d21 Move tweet formatting into a separate helper class 2021-12-26 22:04:16 +01:00