Sha256: 30a38248a95d6bbe63ef464177401a4e5faec36926544cbaa7d849d7c9ba74cf

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

# -*- encoding : utf-8 -*-
module Dao
  class Conducer
    ViewSupport = proc do
      include Tagz.globally

      class << Conducer
        include Tagz.globally

        def install_routes!
          url_helpers = Rails.application.try(:routes).try(:url_helpers)
          include(url_helpers) if url_helpers
          extend(url_helpers) if url_helpers
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dao-8.0.1 lib/dao/conducer/view_support.rb
dao-8.0.0 lib/dao/conducer/view_support.rb
dao-7.0.0 lib/dao/conducer/view_support.rb