Created
June 9, 2014 02:16
-
-
Save lucasmazza/803d591b6a50b4dc919d to your computer and use it in GitHub Desktop.
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
| class ProjectsController < ApplicationController | |
| def show | |
| respond_to do |format| | |
| format.html do |html| | |
| html.tablet # renders app/views/projects/show.html+tablet.erb | |
| html.phone { extra_setup; render ... } | |
| end | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment