mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
enforce coding convention
replaced every `and` by `&&` and every `or` by `||`
This commit is contained in:
@@ -25,7 +25,7 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def mini_profiler_enabled?
|
||||
defined?(Rack::MiniProfiler) and admin?
|
||||
defined?(Rack::MiniProfiler) && admin?
|
||||
end
|
||||
|
||||
def admin?
|
||||
|
||||
Reference in New Issue
Block a user