Skip to content

Commit

Permalink
Frontend Home#index - we don't need a @new_child here
Browse files Browse the repository at this point in the history
Because @new_child is only used in existing nodes via the 'Add child'
modal, not in the Project Summary page.
  • Loading branch information
etdsoft committed Jul 23, 2014
1 parent 48a86af commit 24b5eac
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -15,7 +15,7 @@ def index
@categories = Dradis::Core::Category.all

@new_evidence = Dradis::Core::Evidence.new
@new_child = Dradis::Core::Node.new(parent_id: @node.id)
# @new_child = Dradis::Core::Node.new(parent_id: @node.id)
@new_node = Dradis::Core::Node.new
@new_note = Dradis::Core::Note.new

Expand Down

0 comments on commit 24b5eac

Please sign in to comment.