Add image to posts

this should be current_user.posts.find(params[:post_id]). this is actually more important than the above note. how about this code:
```@post = current_user.posts.find(params[:id])
@image = @post.images.find(params[:id])```