CanCan load_and_authorize_resource triggers Forbidden Attributes

后端 未结 2 1403
既然无缘
既然无缘 2021-02-12 18:51

I have a standard RESTful controller that uses strong parameters.

class UsersController < ApplicationController
  respond_to :html, :js

  def index
    @user         


        
2条回答
提交回复
热议问题