Skip to content

Commit

Permalink
Explained my point a bit better
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen van Baarsen committed Jun 3, 2013
1 parent 7607393 commit bc8cfa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ session[:tablet_view] # => Set to true if request format is :tablet and false
if set to :html
```

If you want to exclude all actions from rendering a specific mimetype (ie :mobile or :tablet)
If you want to use the default response templates, like index.html.erb, instead of the index.tablet.erb you can
exclude the tablet rendering from beeing used:
you can create a `before_filter` and put it before the has_mobile_fu call

```ruby
Expand Down

0 comments on commit bc8cfa8

Please sign in to comment.