66efa5d4f4
- 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 |
||
---|---|---|
.. | ||
environments | ||
initializers | ||
late_initializers | ||
locales | ||
webpack | ||
application.rb | ||
boot.rb | ||
cable.yml | ||
database.yml.postgres | ||
environment.rb | ||
flags.yml | ||
hl_to_cc.yml | ||
i18n-js.yml | ||
justask.yml.example | ||
puma.rb | ||
routes.rb | ||
secrets.yml | ||
sidekiq.yml | ||
spring.rb | ||
storage.yml | ||
webpacker.yml |