Sha256: 128d77ee1a219009339bb3aecc1114d82d808d5231ecb039407a63648b983c58
Contents?: true
Size: 385 Bytes
Versions: 17
Compression:
Stored size: 385 Bytes
Contents
# encoding: utf-8 class TasksController < ApplicationController def index @tasks_grid = initialize_grid(Task, include: [:priority, :status, :project], 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