>
> Your log files say this is happening in your comments controller so it
> should be in app/views/comments.
>
> Fred
There is a copy in app/views/comments. I've attached show.html.erb in
case there is something I missed. The link_to, which is there as a test,
works.
This is how the comment function looks now.
def create
@story = Story.find(params[:story_id])
@story.comments.create params[:comment]
respond_to do |format|
format.rjs
end
end
Is there anything else I could send that might solve this?
Attachments:
http://www.ruby-forum.com/attachment/4898/show.html.erb
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment