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.2.4 lib/softcover/rails/railtie.rb
softcover-1.2.3 lib/softcover/rails/railtie.rb
softcover-1.2.2 lib/softcover/rails/railtie.rb
softcover-1.2.1 lib/softcover/rails/railtie.rb
softcover-1.2.0 lib/softcover/rails/railtie.rb
softcover-1.1.28 lib/softcover/rails/railtie.rb
softcover-1.1.27 lib/softcover/rails/railtie.rb
softcover-1.1.23 lib/softcover/rails/railtie.rb
softcover-1.1.22 lib/softcover/rails/railtie.rb
softcover-1.1.21 lib/softcover/rails/railtie.rb
softcover-1.1.20 lib/softcover/rails/railtie.rb
softcover-1.1.19 lib/softcover/rails/railtie.rb
softcover-1.1.18 lib/softcover/rails/railtie.rb
softcover-1.1.17 lib/softcover/rails/railtie.rb
softcover-1.1.16 lib/softcover/rails/railtie.rb
softcover-1.1.15 lib/softcover/rails/railtie.rb
softcover-1.1.14 lib/softcover/rails/railtie.rb
softcover-1.1.13 lib/softcover/rails/railtie.rb
softcover-1.1.12 lib/softcover/rails/railtie.rb
softcover-1.1.11 lib/softcover/rails/railtie.rb