Created
August 17, 2012 09:13
-
-
Save waseem/3377261 to your computer and use it in GitHub Desktop.
Controller for Card rendering
This file contains hidden or 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
def show | |
@card = Card.find(params[:id]) | |
if (@card) | |
respond_to do |format| | |
format.xml | |
format.html | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment