Sha256: 6fb518e14a26aae614c34d25d50fd30756386471a218ef2a6d32436e0a96a2c3

Contents?: true

Size: 187 Bytes

Versions: 4

Compression:

Stored size: 187 Bytes

Contents

module Miniblog
  class Admin::PreviewController < Miniblog::Admin::BaseController
    def show
      @post = Post.find(params[:id])
      render '/miniblog/posts/show'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
miniblog-1.0.2 app/controllers/miniblog/admin/preview_controller.rb
miniblog-1.0.1 app/controllers/miniblog/admin/preview_controller.rb
miniblog-1.0.0 app/controllers/miniblog/admin/preview_controller.rb
miniblog-1.0.0.beta app/controllers/miniblog/admin/preview_controller.rb