Adding api task_lists#show and spec, edit.haml updates

This commit is contained in:
Jason Denney
2014-03-09 19:20:00 -04:00
parent 656f0f12e4
commit 3b904f95f2
6 changed files with 66 additions and 8 deletions
+1 -1
View File
@@ -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