Skip to content

Commit a2c480a

Browse files
committed
2 parents dffe719 + 31b47c6 commit a2c480a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/project_tree/patches/projects_controller_patch.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ def self.included(base) # :nodoc:
1010
unloadable
1111
#the before_filter is who gives the authorization to execute the function
1212
before_filter :authorize, :except => [ :index, :children, :autocomplete, :list, :new, :create, :copy, :archive, :unarchive, :destroy ]
13+
<<<<<<< HEAD
14+
=======
15+
16+
>>>>>>> 31b47c6afe4530f64802a925a8e715fd7c8a7c87
1317
end
1418
end
1519

@@ -24,7 +28,11 @@ def children
2428
# encapsulates all children of current project
2529
children = []
2630

31+
<<<<<<< HEAD
2732
project.children.each do |child|
33+
=======
34+
project.children.each do |child|
35+
>>>>>>> 31b47c6afe4530f64802a925a8e715fd7c8a7c87
2836
# return only active projects to the result
2937
if child.status == 1
3038
entry = {}

0 commit comments

Comments
 (0)