Skip to content

Commit

Permalink
Remove redundant element scope from Page#feed_elements
Browse files Browse the repository at this point in the history
The available scope is now the default scope for Pages elements
relation.
  • Loading branch information
tvdeyen committed Jun 17, 2019
1 parent 51f7330 commit 461462f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/alchemy/page/page_elements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def element_definitions_by_name(names)
# feed_elements: [element_name, element_2_name]
#
def feed_elements
elements.available.named(definition['feed_elements'])
elements.named(definition['feed_elements'])
end

# Returns an array of all EssenceRichtext contents ids from not folded elements
Expand Down

0 comments on commit 461462f

Please sign in to comment.