Sha256: d6938598337c82a394fe79027344f3d50d93a8ab042060d4754b0efc708906a0

Contents?: true

Size: 540 Bytes

Versions: 13

Compression:

Stored size: 540 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
          include(ActionView::Helpers) if defined?(ActionView::Helpers)
          extend(url_helpers) if url_helpers
          extend(ActionView::Helpers) if defined?(ActionView::Helpers)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dao-5.6.1 lib/dao/conducer/view_support.rb
dao-5.5.2 lib/dao/conducer/view_support.rb
dao-5.5.1 lib/dao/conducer/view_support.rb
dao-5.5.0 lib/dao/conducer/view_support.rb
dao-5.4.0 lib/dao/conducer/view_support.rb
dao-5.3.3 lib/dao/conducer/view_support.rb
dao-5.3.2 lib/dao/conducer/view_support.rb
dao-5.3.0 lib/dao/conducer/view_support.rb
dao-5.2.1 lib/dao/conducer/view_support.rb
dao-5.1.2 lib/dao/conducer/view_support.rb
dao-5.1.1 lib/dao/conducer/view_support.rb
dao-5.0.0 lib/dao/conducer/view_support.rb
dao-4.6.4 lib/dao/conducer/view_support.rb