Commit graph

7 commits

Author SHA1 Message Date
Georg Gadinger
86441cda57 rubodog 2023-01-02 09:24:34 +01:00
Georg Gadinger
9d38292d4a question/create_followers: fix incrementing asked_count 2023-01-02 09:20:59 +01:00
Georg Gadinger
9413d23a02 let Zeitwerk autoload the lib/ directory
this also allows the UseCase classes to be hot reloaded in dev 🎉

- remove use_case requires (except for the exporter as Zeitwerk
  doesn't know about the subclasses)
- move version.rb to lib/retrospring so that Zeitwerk knows where
  to find Retrospring::Version
2022-12-29 20:57:28 +01:00
Karina Kwiatek
a8e99723cc Return hashes from question use cases 2022-07-30 15:40:37 +02:00
Andreas Nedbal
bea98fa917 Always set follower created questions to not be direct explicitly 2022-07-24 22:24:24 +02:00
Karina Kwiatek
22a66f4d1a Fix lint errors 2022-07-17 10:05:20 +02:00
Karina Kwiatek
d9ff4d5765 Refactor Ajax::QuestionController#create into separate UseCases
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-17 10:05:20 +02:00