fix #1271. Don't block an already blocked todo. Create tests for this case

This commit is contained in:
Reinier Balt 2012-04-08 14:52:44 +02:00
parent 4db90386a8
commit dcb155d90d
6 changed files with 158 additions and 61 deletions

View file

@ -56,7 +56,7 @@ module Tracks
end
def source_view_is_one_of( *s )
s.include?(params[:_source_view].to_sym)
s.include?((params[:_source_view] || @source_view).to_sym)
end
end