Module: Decidim::System::ApplicationHelper

Includes:
LocalizedLocalesHelper
Defined in:
app/helpers/decidim/system/application_helper.rb

Overview

Custom helpers, scoped to the system panel.

Instance Method Summary collapse

Instance Method Details

#current_admin?(admin) ⇒ Boolean

Returns:

  • (Boolean)


14
15
16
# File 'app/helpers/decidim/system/application_helper.rb', line 14

def current_admin?(admin)
  current_admin == admin
end

#titleObject



10
11
12
# File 'app/helpers/decidim/system/application_helper.rb', line 10

def title
  "Decidim"
end