Sha256: 98e72bc06cc7fdbcca82b600c44f235b97f857a9618333715dc1c99603b53883
Contents?: true
Size: 363 Bytes
Versions: 17
Compression:
Stored size: 363 Bytes
Contents
# encoding: utf-8 class AutoReloadsController < ApplicationController def index @tasks_grid = initialize_grid(Task, custom_order: { 'tasks.priority_id' => 'priorities.name', 'tasks.status_id' => 'statuses.position', 'tasks.project_id' => 'projects.name' }, order: 'id', order_direction: 'asc' ) end end
Version data entries
17 entries across 17 versions & 2 rubygems