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