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.4.3 lib/softcover/rails/railtie.rb
softcover-1.4.2 lib/softcover/rails/railtie.rb
softcover-1.4.1 lib/softcover/rails/railtie.rb
softcover-1.4.0 lib/softcover/rails/railtie.rb
softcover-1.3.4 lib/softcover/rails/railtie.rb
softcover-1.3.3 lib/softcover/rails/railtie.rb
softcover-1.3.2 lib/softcover/rails/railtie.rb
softcover-1.3.1 lib/softcover/rails/railtie.rb
softcover-1.3.0 lib/softcover/rails/railtie.rb
softcover-1.2.15 lib/softcover/rails/railtie.rb
softcover-1.2.14 lib/softcover/rails/railtie.rb
softcover-1.2.13 lib/softcover/rails/railtie.rb
softcover-1.2.12 lib/softcover/rails/railtie.rb
softcover-1.2.11 lib/softcover/rails/railtie.rb
softcover-1.2.10 lib/softcover/rails/railtie.rb
softcover-1.2.9 lib/softcover/rails/railtie.rb
softcover-1.2.8 lib/softcover/rails/railtie.rb
softcover-1.2.7 lib/softcover/rails/railtie.rb
softcover-1.2.6 lib/softcover/rails/railtie.rb
softcover-1.2.5 lib/softcover/rails/railtie.rb