Simplify calls to content_block helper
All calls were using `I18n.locale` as the second parameter, so we might as well make it optional.
This commit is contained in:
@@ -8,6 +8,6 @@ class Layout::TopLinksComponent < ApplicationComponent
|
||||
private
|
||||
|
||||
def top_links_content_block
|
||||
content_block("top_links", I18n.locale)
|
||||
content_block("top_links")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user