spec/dummy/app/controllers/posts_controller.rb in draper-3.0.0.pre1 vs spec/dummy/app/controllers/posts_controller.rb in draper-3.0.0

- old
+ new

@@ -1,15 +1,15 @@ -class PostsController < ApplicationController +class PostsController < BaseController decorates_assigned :post def show @post = Post.find(params[:id]) end def mail post = Post.find(params[:id]) email = PostMailer.decorated_email(post).deliver - render text: email.body + render html: email.body.to_s.html_safe end private def goodnight_moon