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
Andreas Nedbal 7623213f96 Remove priority action views and links 2022-07-19 22:53:50 +02:00
Andreas Nedbal 67b6847311 Remove links to ip action from views 2022-07-19 22:53:50 +02:00
Andreas Nedbal 4df4e41a47 Remove moderation comments from report view 2022-07-19 11:17:45 +02:00
Andreas Nedbal 4ab391a09e Remove moderation vote from report view 2022-07-18 23:10:07 +02:00
Andreas Nedbal 01bedd1143 Port report comment toggle feature to TypeScript 2022-01-08 20:28:52 +01:00
Andreas Nedbal 66b2afc976 Turn single-word strings into symbols 2020-05-11 19:40:45 +02:00
Andreas Nedbal 3c1d007c5e Fix lints in app/views/moderation 2020-05-11 19:40:43 +02:00