Class: RushJob::RushJobsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RushJob::RushJobsController
- Includes:
- Pagy::Backend, SortHelper
- Defined in:
- app/controllers/rush_job/rush_jobs_controller.rb
Instance Method Summary collapse
Methods included from SortHelper
Instance Method Details
#index ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'app/controllers/rush_job/rush_jobs_controller.rb', line 8 def index @pagy, @rush_jobs = pagy(RushJob.order("#{sort_column} #{sort_direction}")) respond_to do |format| format.html format.turbo_stream end end |