app/controllers/pulitzer/posts_controller.rb in pulitzer-0.0.2 vs app/controllers/pulitzer/posts_controller.rb in pulitzer-0.0.3
- old
+ new
@@ -16,10 +16,10 @@
Pulitzer::SetupPostElements.new(@post).call if @post
render partial: 'show_wrapper', locals: { post: @post }
end
def show
-
+ render partial: 'show', locals: { post: @post }
end
def edit
render partial: 'form', locals: { post: @post }
end