This commit is contained in:
jomo
2013-10-21 05:45:54 +02:00
parent 49b2231047
commit bfe9a1e6f5
14 changed files with 107 additions and 46 deletions

View File

@@ -6,7 +6,7 @@ class BlogpostsController < ApplicationController
def show
@post = Blogpost.find(params[:id])
@comment = Comment.new(:blogpost => @post)
@comment = Comment.new(blogpost: @post)
end
def new