mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-17 06:35:28 +01:00
fix #1271. Don't block an already blocked todo. Create tests for this case
This commit is contained in:
parent
4db90386a8
commit
dcb155d90d
6 changed files with 158 additions and 61 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue