Sha256: db99f29cad008a0c5aeb942544b513098468c920e86b124568c5f5c3f13b1169

Contents?: true

Size: 736 Bytes

Versions: 17

Compression:

Stored size: 736 Bytes

Contents

module CmPageBuilder
  module Rails
    module ApplicationHelper
      

      # def method_missing method, *args, &block
      #   pp "==========="
      #   if method.to_s.end_with?('_path') or method.to_s.end_with?('_url')
      #     if main_app.respond_to?(method)
      #       main_app.send(method, *args)
      #     else
      #       super
      #     end
      #   else
      #     super
      #   end
      # end
      #
      # def respond_to?(method)
      #   if method.to_s.end_with?('_path') or method.to_s.end_with?('_url')
      #     if main_app.respond_to?(method)
      #       true
      #     else
      #       super
      #     end
      #   else
      #     super
      #   end
      # end

    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
cm_page_builder-0.2.3 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-0.2.2 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.2.2 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.2.1 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.2.0 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.12 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.11 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.10 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.9 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.8 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.7 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.6 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.4 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.3 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.2 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.1 lib/cm_page_builder/rails/application_helper.rb
cm_page_builder-rails-0.1.0 lib/cm_page_builder/rails/application_helper.rb