Created
January 10, 2011 15:03
-
-
Save jonpaul/772866 to your computer and use it in GitHub Desktop.
snippet from show action
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
<img src="<%= stores.name %>/<%= week.title %>/<%= game.image %>" width="329" height="215" alt="Content Inline" hspace="0" vspace="4" class="inline"> |
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
<%= render @games %> |
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
def show | |
@week = Week.find(params[:id]) | |
@games = @week.games | |
@stores = @week.stores | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment