mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Adding api task_lists#show and spec, edit.haml updates
This commit is contained in:
@@ -4,7 +4,7 @@ class TaskList < ActiveRecord::Base
|
||||
attr_accessible :item_id, :item_type, :name
|
||||
|
||||
belongs_to :item, :polymorphic => true
|
||||
has_many :tasks
|
||||
has_many :tasks, order: "id ASC"
|
||||
|
||||
after_save :create_default_bike_tasks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user