From 33d8a4027dce0753a85c02f77d29f26c898f6ca0 Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Thu, 20 Feb 2014 13:30:05 +0100 Subject: [PATCH] Fixed 500 on timeline create in accessibility mode --- app/models/timeline.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/timeline.rb b/app/models/timeline.rb index bc4d912ee5..00b0346791 100644 --- a/app/models/timeline.rb +++ b/app/models/timeline.rb @@ -247,7 +247,7 @@ class Timeline < ActiveRecord::Base end def available_project_types - ProjectType.find_all_by_id(:all) + ProjectType.all end def selected_project_types