Skip to content

Instantly share code, notes, and snippets.

@aarongrando
Created August 11, 2010 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarongrando/519655 to your computer and use it in GitHub Desktop.
Save aarongrando/519655 to your computer and use it in GitHub Desktop.
class PrintsController < ApplicationController
# GET /prints/post
def post
@print = Post.find(params[:id])
respond_to do |format|
format.html # post.html.erb
end
end
# GET /prints/link
def link
@print = Link.find(params[:id])
respond_to do |format|
format.html # link.html.erb
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment