app/controllers/management/page_steps_controller.rb
# Gets the pages tree structure and sends it to gon
Gets the pages tree structure and sends it to gon
Gets the pages tree structure and sends it to gon
def assign_position
    gon.structure = build_pages_tree
    gon.position = @page.position
    gon.parent_id = @page.parent_id
  end
def assign_position gon . structure = build_pages_tree gon . position = @page . position gon . parent_id = @page . parent_id end
Gets the pages tree structure and sends it to gon
Gets the pages tree structure and sends it to gon