Skip to content

rails-gems/base-resource

Repository files navigation

BaseResource

Base Controller Resource Query

dependences

# gem 'jbuilder'
# 表单
gem 'reform'
gem 'reform-rails'
# 分页
gem 'kaminari'
# 搜索
gem 'ransack'

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'base_resource', github: 'rails-gems/base-resource'

And then execute:

$ bundle

and then

class ApplicationController < ActionController::Base
  include BaseResource
end

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published