Sha256: 8c14311541029506b04e852d1cc09b793422b7073fdf8fe845d6b214b9a9c08c

Contents?: true

Size: 276 Bytes

Versions: 89

Compression:

Stored size: 276 Bytes

Contents

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

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
softcover-1.10.4 lib/softcover/rails/railtie.rb
softcover-1.10.3 lib/softcover/rails/railtie.rb
softcover-1.10.2 lib/softcover/rails/railtie.rb
softcover-1.10.1 lib/softcover/rails/railtie.rb
softcover-1.10.0 lib/softcover/rails/railtie.rb
softcover-1.9.1 lib/softcover/rails/railtie.rb
softcover-1.9.0 lib/softcover/rails/railtie.rb
softcover-1.8.3 lib/softcover/rails/railtie.rb
softcover-1.8.2 lib/softcover/rails/railtie.rb
softcover-1.8.1 lib/softcover/rails/railtie.rb
softcover-1.8.0 lib/softcover/rails/railtie.rb
softcover-1.7.5 lib/softcover/rails/railtie.rb
softcover-1.7.4 lib/softcover/rails/railtie.rb
softcover-1.7.3 lib/softcover/rails/railtie.rb
softcover-1.7.2 lib/softcover/rails/railtie.rb
softcover-1.7.1 lib/softcover/rails/railtie.rb
softcover-1.7.0 lib/softcover/rails/railtie.rb
softcover-1.6.5 lib/softcover/rails/railtie.rb
softcover-1.6.4 lib/softcover/rails/railtie.rb
softcover-1.6.3 lib/softcover/rails/railtie.rb