Commit Graph

5 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 c84b6a61bd Use `gsub` instead of `gsub!` to not modify frozen literals 2022-01-16 22:33:48 +01:00
Andreas Nedbal 02a5e7029e Add linkfilter logic to existing renderers 2021-12-31 22:40:38 +01:00
nilsding 1d3848424d changed regex for matching user mentions 2014-12-31 16:02:34 +01:00
nilsding 0e4d744478 added Markdown to answers 2014-12-28 19:06:49 +01:00