adjusted link.rb to post.rb