Commit 37c4b1d5 authored by's avatar
Browse files

grammar fix

parent 816a3861
......@@ -98,20 +98,20 @@ class ApplicationController < ActionController::Base
helper_method :resource_enabled?
def any_resources_enabled?
def any_resource_enabled?
helper_method :any_resources_enabled?
helper_method :any_resource_enabled?
def resource_exists?(resource)
helper_method :resource_exists?
def any_resources_exist?
def any_resource_exist?
helper_method :any_resources_exist?
helper_method :any_resource_exist?
def list_of_canonical_resources
# TODO: move to api
......@@ -19,7 +19,7 @@
pgpkeys: {},
invites: ({} if allow_invites?),
delete_account: {},
services: ({divider: true} if any_resources_enabled? || any_resource_exists?),
services: ({divider: true} if (any_resource_enabled? || any_resource_exists?)),
new_resource: ({} if feature_toggle?('resource')),
}.merge( do |name|
Supports Markdown
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