lib/ecm/blog/configuration.rb in ecm_blog-1.0.2 vs lib/ecm/blog/configuration.rb in ecm_blog-1.2.0
- old
+ new
@@ -9,8 +9,10 @@
yield self
end
mattr_accessor(:base_controller) { '::FrontendController' }
mattr_accessor(:creator_class_name) { 'User' }
+ mattr_accessor(:posts_index_page_title_proc) { ->(view) { view.resource_class.model_name.human(count: :other) } }
+ mattr_accessor(:pagination_options_proc) { ->(view) { { theme: 'twitter-bootstrap-3' } } }
end
end
end