Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Nedbal ec6f25e16b Use appropriate image sizes and lazy loading in questions 2022-10-10 23:16:44 +02:00
Andreas Nedbal 24be74a5a2 Split and reuse question actions in partial 2022-08-21 15:04:54 +02:00
Andreas Nedbal 2a8711e7db Fix asked header in question and answerbox 2022-08-17 22:18:37 +02:00
Andreas Nedbal 14221aea71 Fix legacy locale references 2022-08-02 19:13:23 +02:00
Karina Kwiatek e887e8c4fc Refactor action strings 2022-07-30 18:50:46 +02:00
Andreas Nedbal 70e95375fb Render questions on user profiles with markdown 2022-07-24 21:55:31 +02:00
Andreas Nedbal c894551ffc Add Rails Admin link to question partials 2022-07-24 21:44:46 +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
Andreas Nedbal 3df0196e1f Add `questionbox` class to questions
...so they get removed from the DOM after deletion
2022-01-04 00:05:11 +01:00
Andreas Nedbal fe70717510 Fix lints in app/views/shared 2020-05-11 19:38:07 +02:00