Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

typo fixes for the readme

  • Loading branch information...
commit 6ea5aca0252fbe1253fdd3dcf0b499d1dfc194e3 1 parent 335c4d4
@matthewrobertson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -94,13 +94,13 @@ available are all documented in the [comments of that file](https://github.com/m
You can manually override the version detector javascript and allow mobile
clients to visit the canonical version of the app by passing in a the GET
url parameter `force_canonical=1`. This sets a session cookie in a `before_filter`
-that stops the version detection scipt from redirecting users so it only has to be
+that stops the version detection scipt from redirecting users, so it only has to be
done once per session. Ress includes a helper / controller method `force_canonical` that returns
a link back to the canonical version of the current page with this query param appended.
For, example you may include something like this in your `<footer>` to let mobile users
access the canonical site.
-```html
+```erb
<!-- Let mobile devices access the canonical site -->
<footer>
<% unless canonical_request? %>
Please sign in to comment.
Something went wrong with that request. Please try again.