Commit Graph

9 Commits

Author SHA1 Message Date
Andreas Nedbal f95e11cffc Fix rubocop nits 2023-10-19 23:53:21 +02:00
Andreas Nedbal 6e8f8bcc67
Merge branch 'main' into bugfix/inbox-sharing 2023-10-19 23:44:57 +02:00
Andreas Nedbal 25adb11df3 Fix rubocop nits in helper code and specs 2023-10-19 23:41:14 +02:00
Andreas Nedbal f76c4e236b Fix rubocop nits 2023-10-18 21:12:42 +02:00
Andreas Nedbal dc8c5fbf82 Add option to omit URL to `prepare_tweet` helper 2023-10-18 20:01:07 +02:00
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 683fffd734 Add the ability to post to services with a tag 2022-01-05 19:49:59 +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 b64b039d21 Move tweet formatting into a separate helper class 2021-12-26 22:04:16 +01:00