Sha256: efafc87cb01dc0192143b56bfb6229c20ed81c82a07b9d03c4b876255627b17e

Contents?: true

Size: 328 Bytes

Versions: 3

Compression:

Stored size: 328 Bytes

Contents

require "cancan"

module CustomerVault
  class ApplicationController < ::ApplicationController
    def current_ability
      @current_ability ||= ::CustomerVault::Ability.new(nil)
    end

    helper Dorsale::AllHelpers

    private

    def customer_vault_tag_list
      ActsAsTaggableOn::Tag.all.map(&:to_s)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
customer_vault-1.2.10 app/controllers/customer_vault/application_controller.rb
customer_vault-1.2.9 app/controllers/customer_vault/application_controller.rb
customer_vault-1.2.8 app/controllers/customer_vault/application_controller.rb