Sha256: 3cf8ff36f48fb9a9f4b8d91fc9ab1a63d5f455d65cf178fd3cdd01b723651ae8
Contents?: true
Size: 410 Bytes
Versions: 17
Compression:
Stored size: 410 Bytes
Contents
# encoding: utf-8 class AddingRowsController < 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