mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
The line '@users = User.all.order(:name)' is replicated a lot of times in EventsController and ProposalsController. So, this commit removes it and adds a helper function 'speaker_selector_input' that generates the field where the @users variable was used. Also, it makes the query more specific. Fix #1455 Other changes: * Include the username in the drop down menu * Add .active scope to User and corresponding tests * Add :disabled trait to User factory |
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| users | ||
| application_controller.rb | ||
| commercials_controller.rb | ||
| conference_registrations_controller.rb | ||
| conferences_controller.rb | ||
| confirmations_controller.rb | ||
| payments_controller.rb | ||
| proposals_controller.rb | ||
| registrations_controller.rb | ||
| schedules_controller.rb | ||
| subscriptions_controller.rb | ||
| ticket_purchases_controller.rb | ||
| tickets_controller.rb | ||
| users_controller.rb | ||