Sha256: edbb1e31698765992b1ba170940b49893e86491295dfbb7d2956c1b44dfedbd7

Contents?: true

Size: 437 Bytes

Versions: 6

Compression:

Stored size: 437 Bytes

Contents

# Rake tasks and integration to Rails
# require 'kthxbye'

module Kthxbye
  class Railtie < Rails::Railtie

    config.action_view.javascript_expansions[:kthxbye] = %w(socket.io/socket.io.js kthxbye.js)

    initializer "kthxbye.configure_for_rails" do |app|   
      app.config.autoload_paths += %W(kthxbye/css kthxbye/javascripts kthxbye/images)
    end

    rake_tasks do
      load "kthxbye/railties/kthxbye.rake"
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kthxbye-1.3.2 lib/kthxbye/railtie.rb
kthxbye-1.3.0 lib/kthxbye/railtie.rb
kthxbye-1.2.1 lib/kthxbye/railtie.rb
kthxbye-1.2.0 lib/kthxbye/railtie.rb
kthxbye-1.1.1 lib/kthxbye/railtie.rb
kthxbye-1.1.0 lib/kthxbye/railtie.rb