Commit 82a818467f1da754010ca8fcfff2ccc0faaffa0d

* Some usage documentation

Commit diff

README

 
11merb_is_mobile
22==============
33
4A plugin for the Merb framework that provides ...
4A plugin for the Merb framework that provides ...
5
6
7== Usage
8
9In your model class, include MerbIsMobile:
10 class MyModel
11 include ::MerbIsMobile
12 end
13
14And in your controller, select which mime-types that you want to provide with:
15- provides
16- only_provides
17
18 class Foo < Merb::Controller
19 provides :xhtmlmp, :wml
20 end
toggle raw diff