Sha256: 4003abff43f9d8552222b9629980a218357de298ac4d663e24a0fa78032c4be4
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
# PowerResource Power up your RESTful resources! ALPHA STAGE, DO NOT USE IN PRODUCTION! ## Requirements * Ruby 2.0.0 or greater * Rails 4.0.0 or greater ## Installation Add this line to your application's Gemfile: gem 'power_resource' And then execute: $ bundle Or install it yourself as: $ gem install power_resource ## Usage Inherit your resource controllers from PowerResource::BaseController: class ProductsController < PowerResource::BaseController end ## Helpers Besides all [helpers from Inherited Resources gem](https://github.com/josevalim/inherited_resources#url-helpers), next helper methods are available: resource_form_path #=> /products when creating a new resource #=> /products/1 when resource already exists ## Support If you have any questions or issues with PowerResource, or if you like to report a bug, please create an [issue on GitHub](https://github.com/jarijokinen/power_resource/issues). ## License MIT License. Copyright (c) 2013 [Jari Jokinen](http://jarijokinen.com). See [LICENSE](https://github.com/jarijokinen/power_resource/blob/master/LICENSE.txt) for further details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
power_resource-0.0.1 | README.md |