Class: Decidim::Blogs::PostsController
- Inherits:
-
ApplicationController
- Object
- Components::BaseController
- ApplicationController
- Decidim::Blogs::PostsController
- Includes:
- IconHelper, Flaggable, Paginable
- Defined in:
- app/controllers/decidim/blogs/posts_controller.rb
Overview
Exposes the blog resource so users can view them
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
13 |
# File 'app/controllers/decidim/blogs/posts_controller.rb', line 13 def index; end |
#show ⇒ Object
15 16 17 |
# File 'app/controllers/decidim/blogs/posts_controller.rb', line 15 def show raise ActionController::RoutingError, "Not Found" unless post end |