Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tylerrick/cancan-inherited_resources
Allow cancancan to work with inherited_resources (Because https://github.com/CanCanCommunity/cancancan/pull/370)
https://github.com/tylerrick/cancan-inherited_resources
cancancan inherited-resources rails
Last synced: 3 months ago
JSON representation
Allow cancancan to work with inherited_resources (Because https://github.com/CanCanCommunity/cancancan/pull/370)
- Host: GitHub
- URL: https://github.com/tylerrick/cancan-inherited_resources
- Owner: TylerRick
- License: mit
- Created: 2018-03-23T21:51:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T22:02:05.000Z (almost 7 years ago)
- Last Synced: 2024-10-13T11:58:19.709Z (4 months ago)
- Topics: cancancan, inherited-resources, rails
- Language: Ruby
- Homepage:
- Size: 4.88 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: License
Awesome Lists containing this project
README
# CanCan::InheritedResources
Allow [cancancan](https://github.com/CanCanCommunity/cancancan) to work with [inherited_resources](https://github.com/activeadmin/inherited_resources)
Because
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'cancan-inherited_resources'
```## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/TylerRick/cancan-inherited_resources.