Class: SimpleBlogExtension::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- SimpleBlogExtension::Engine
- Defined in:
- lib/spree_simple_blog.rb
Class Method Summary collapse
Class Method Details
.activate ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/spree_simple_blog.rb', line 4 def self.activate Spree::BaseController.class_eval do helper ArticlesHelper end AppConfiguration.class_eval do preference :disqus_id, :default => nil preference :blog_feed_url, :default => '/blog.xml' end end |