Sha256: 8b593fea6c1ef702e4d04aeaf24f978ac2dd174b274b7a034c233c6a24169dd2

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

require 'rails'
require 'comfortable_mexican_sofa'
require "sofa_blog"
require "rails"

module SofaBlog
  class Engine < Rails::Engine
    initializer 'sofa_blog' do |app|
      ComfortableMexicanSofa::ViewHooks.add(:navigation, 'sofa_blog/nav')
      ComfortableMexicanSofa::ViewHooks.add(:html_head, 'sofa_blog/head')
      
      ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :blog => [
        'comfortable_mexican_sofa/blog/content'
      ]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sofa_blog-0.0.1 lib/sofa_blog/engine.rb