Sha256: 4aa824d7325051628b48987e4cc2518cd84b14b02ddd6e664044fac6770f729e

Contents?: true

Size: 271 Bytes

Versions: 70

Compression:

Stored size: 271 Bytes

Contents

module Softcover
  class Railtie < ::Rails::Railtie
    initializer "softcover", group: :all do |app|
      path = File.expand_path(File.join(File.dirname(__FILE__),
        "..", "template", "html", "stylesheets"))
      app.config.assets.paths << path
    end
  end
end

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
softcover-0.7.11 lib/softcover/rails/railtie.rb
softcover-0.7.10 lib/softcover/rails/railtie.rb
softcover-0.7.9 lib/softcover/rails/railtie.rb
softcover-0.7.8 lib/softcover/rails/railtie.rb
softcover-0.7.7 lib/softcover/rails/railtie.rb
softcover-0.7.6 lib/softcover/rails/railtie.rb
softcover-0.7.5 lib/softcover/rails/railtie.rb
softcover-0.7.4 lib/softcover/rails/railtie.rb
softcover-0.7.3 lib/softcover/rails/railtie.rb
softcover-0.7.2 lib/softcover/rails/railtie.rb