Sha256: 62f9f552cdeee3731512113bf08612a81737a025e780dcd45b692c6a4d24ea57
Contents?: true
Size: 409 Bytes
Versions: 17
Compression:
Stored size: 409 Bytes
Contents
# encoding: utf-8 class SavedQueriesController < ApplicationController def index @tasks_grid = initialize_grid(Task, include: [:priority, :status, :project, :assigned_users], order: 'statuses.name', custom_order: { 'tasks.priority_id' => 'priorities.name', 'tasks.status_id' => 'statuses.position', 'tasks.project_id' => 'projects.name' } ) end end
Version data entries
17 entries across 17 versions & 2 rubygems