Class: Miniblog::Admin::PreviewController
- Inherits:
-
BaseController
- Object
- ApplicationController
- Miniblog::ApplicationController
- BaseController
- Miniblog::Admin::PreviewController
- Defined in:
- app/controllers/miniblog/admin/preview_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Methods inherited from Miniblog::ApplicationController
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Miniblog::ApplicationController
Instance Method Details
#show ⇒ Object
3 4 5 6 |
# File 'app/controllers/miniblog/admin/preview_controller.rb', line 3 def show @post = Post.find(params[:id]) render '/miniblog/posts/show' end |