app/controllers/kuroko2/dashboard_controller.rb in kuroko2-0.3.0 vs app/controllers/kuroko2/dashboard_controller.rb in kuroko2-0.3.1
- old
+ new
@@ -1,7 +1,7 @@
class Kuroko2::DashboardController < Kuroko2::ApplicationController
def index
- @definitions = current_user.job_definitions.includes(:tags, :job_instances, :job_schedules)
+ @definitions = current_user.job_definitions.includes(:tags, :job_schedules)
@input_tags = params[:tag] || []
if @input_tags.present?
@definitions = @definitions.tagged_by(@input_tags)
end