Base Controller Resource Query
# gem 'jbuilder', '~> 2.5'
# 表单
gem 'reform'
gem 'reform-rails'
# 分页
gem 'kaminari'
# 搜索
gem 'ransack'
How to use my plugin.
Add this line to your application's Gemfile:
gem 'base_resource', github: 'wuyuedefeng/base-resource'
And then execute:
$ bundle
and then
class ApplicationController < ActionController::Base
include BaseResource
end
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.