mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 19:48:48 +01:00
Revert "Cache the project and context names"
This reverts commit 610152b8dd.
This commit is contained in:
parent
c1597a7751
commit
49886b1bd3
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ module Todos
|
|||
end
|
||||
|
||||
def project_name
|
||||
@project_name ||= @params['project_name'].strip if @params['project_name']
|
||||
@params['project_name'].strip unless @params['project_name'].nil?
|
||||
end
|
||||
|
||||
def project_id
|
||||
|
|
@ -44,7 +44,7 @@ module Todos
|
|||
end
|
||||
|
||||
def context_name
|
||||
@context_name ||= @params['context_name'].strip if @params['context_name']
|
||||
@params['context_name'].strip unless @params['context_name'].nil?
|
||||
end
|
||||
|
||||
def context_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue