Sha256: 8aef50d2fc4469b6be181d815a477f62f13da880fb03d8ebe471d81f00ea6892

Contents?: true

Size: 330 Bytes

Versions: 24

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module System
    # Custom helpers, scoped to the system panel.
    #
    module ApplicationHelper
      include Decidim::LocalizedLocalesHelper

      def title
        "Decidim"
      end

      def current_admin?(admin)
        current_admin == admin
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-system-0.29.1 app/helpers/decidim/system/application_helper.rb
decidim-system-0.28.4 app/helpers/decidim/system/application_helper.rb
decidim-system-0.27.9 app/helpers/decidim/system/application_helper.rb
decidim-system-0.29.0 app/helpers/decidim/system/application_helper.rb
decidim-system-0.28.3 app/helpers/decidim/system/application_helper.rb
decidim-system-0.27.8 app/helpers/decidim/system/application_helper.rb
decidim-system-0.29.0.rc4 app/helpers/decidim/system/application_helper.rb
decidim-system-0.29.0.rc3 app/helpers/decidim/system/application_helper.rb
decidim-system-0.29.0.rc2 app/helpers/decidim/system/application_helper.rb
decidim-system-0.29.0.rc1 app/helpers/decidim/system/application_helper.rb
decidim-system-0.28.2 app/helpers/decidim/system/application_helper.rb
decidim-system-0.27.7 app/helpers/decidim/system/application_helper.rb
decidim-system-0.28.1 app/helpers/decidim/system/application_helper.rb
decidim-system-0.27.6 app/helpers/decidim/system/application_helper.rb
decidim-system-0.26.10 app/helpers/decidim/system/application_helper.rb
decidim-system-0.26.9 app/helpers/decidim/system/application_helper.rb
decidim-system-0.28.0 app/helpers/decidim/system/application_helper.rb
decidim-system-0.27.5 app/helpers/decidim/system/application_helper.rb
decidim-system-0.28.0.rc5 app/helpers/decidim/system/application_helper.rb
decidim-system-0.28.0.rc4 app/helpers/decidim/system/application_helper.rb