Class: PostManager::NewsHandler
- Inherits:
-
PostManager
- Object
- PostManager
- PostManager::NewsHandler
- Defined in:
- app/services/post_manager/news_handler.rb
Instance Method Summary collapse
Methods inherited from PostManager
#edit_path, handler, #initialize, #parsed_body
Constructor Details
This class inherits a constructor from PostManager
Instance Method Details
#category_path(category) ⇒ Object
7 8 9 |
# File 'app/services/post_manager/news_handler.rb', line 7 def category_path(category) "#{@prefix}/news/#{category.long_slug}" end |
#post_path ⇒ Object
2 3 4 |
# File 'app/services/post_manager/news_handler.rb', line 2 def post_path "#{@prefix}/news/#{@entity.id}-#{@entity.slug}" end |