Method: FormCreation::PostsController#show
- Defined in:
- app/controllers/form_creation/posts_controller.rb
#show ⇒ Object
GET method to get a Post by id
17 18 19 |
# File 'app/controllers/form_creation/posts_controller.rb', line 17 def show @post = Post.find(params[:id]) end |