Sha256: 98744084363efa111157f986a5331f2e42572129a52725971ed23bcf1a0b9ada

Contents?: true

Size: 335 Bytes

Versions: 7

Compression:

Stored size: 335 Bytes

Contents

module Adminpanel
  class UsersController < Adminpanel::ApplicationController
    # authorize_resource :class => false
    authorize_resource

  private
    def user_params
      params.require(:user).permit(
        :email,
        :name,
        :password,
        :password_confirmation,
        :group_id
      )
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
adminpanel-2.1.7 app/controllers/adminpanel/users_controller.rb
adminpanel-2.1.6 app/controllers/adminpanel/users_controller.rb
adminpanel-2.1.5 app/controllers/adminpanel/users_controller.rb
adminpanel-2.1.3 app/controllers/adminpanel/users_controller.rb
adminpanel-2.1.2 app/controllers/adminpanel/users_controller.rb
adminpanel-2.1.1 app/controllers/adminpanel/users_controller.rb
adminpanel-2.1.0 app/controllers/adminpanel/users_controller.rb