Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Replacing configuration example to avoid misuse.

  • Loading branch information...
commit ac1912222408d02849ac005a97156482f0e9ae4c 1 parent c08d112
@tscolari authored
Showing with 2 additions and 4 deletions.
  1. +1 −1  Gemfile.lock
  2. +1 −3 README.rdoc
View
2  Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- mobylette (3.3)
+ mobylette (3.3.1)
actionpack (>= 3.0)
GEM
View
4 README.rdoc
@@ -63,9 +63,7 @@ After that, you may start adding your .mobile. views.
You can set the configuration with the mobylette_config method:
mobylette_config do |config|
- config[:fallback_chains] = { mobile: [:mobile, :html] }
- config[:skip_xhr_requests] = false
- config[:mobile_user_agents] = proc { %r{iphone}i }
+ ... configuration
end
=== Custom User Agents

1 comment on commit ac19122

@xp3443

Tip: You can also add notes to lines in a file. Hover to the left of a line to make a note

Please sign in to comment.
Something went wrong with that request. Please try again.