Class: Miniblog::Admin::PreviewController

Inherits:
BaseController show all
Defined in:
app/controllers/miniblog/admin/preview_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#after_post_is_saved

Methods inherited from Miniblog::ApplicationController

#method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Miniblog::ApplicationController

Instance Method Details

#showObject



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