Skip to content

Instantly share code, notes, and snippets.

@ajsharp
Created June 17, 2011 21:11
Show Gist options
  • Select an option

  • Save ajsharp/1032364 to your computer and use it in GitHub Desktop.

Select an option

Save ajsharp/1032364 to your computer and use it in GitHub Desktop.
def mobile
respond_to do |fmt|
fmt.iphone { ... }
fmt.andriod { ... }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment