Method: StoryCopy#find_project_in_new_workspace
- Defined in:
- lib/translate/copy/story_copy.rb
#find_project_in_new_workspace(new_workspace) ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/translate/copy/story_copy.rb', line 25 def find_project_in_new_workspace(new_workspace) if @object.cards.nil? return super elsif @object.cards.first.project.nil? return super else fetch_project(@object.cards.first.project.name, new_workspace) end end |