Sha256: e2dc3326a3e52665a344d3050618c431f9cca0f1a2ead5ba0a86ed9e2001d297

Contents?: true

Size: 306 Bytes

Versions: 4

Compression:

Stored size: 306 Bytes

Contents

module Coffee
  module Rails
    module JsHook
      extend ActiveSupport::Concern

      included do
        no_tasks do
          redefine_method :js_template do |source, destination|
            template(source + '.coffee', destination + '.coffee')
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
coffee-rails-5.0.0 lib/coffee/rails/js_hook.rb
coffee-rails-4.2.2 lib/coffee/rails/js_hook.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/coffee-rails-4.2.1/lib/coffee/rails/js_hook.rb
coffee-rails-4.2.1 lib/coffee/rails/js_hook.rb