Created
August 11, 2010 20:16
-
-
Save aarongrando/519655 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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