Code review comment applied

Refactor line of code to make it clearer.
parent 3e79f278
......@@ -313,8 +313,9 @@ module WikiActions
def load_content?
return false if params[:action] == 'history'
return false if params[:action] == 'show' && Feature.enabled?(:wiki_async_load, container, default_enabled: :yaml)
!(params[:action] == 'show' && Feature.enabled?(:wiki_async_load, container, default_enabled: :yaml))
true
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment