Skip to content

Commit

Permalink
Appease Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed May 28, 2020
1 parent 91aa176 commit 695cdbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/alchemy/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class << self
# Returns all root nodes for current language
def language_root_nodes
raise "No language found" if Language.current.nil?

roots.where(language_id: Language.current.id)
end

Expand Down

0 comments on commit 695cdbe

Please sign in to comment.