set instance variable per convention is failing

后端 未结 0 1989
别跟我提以往
别跟我提以往 2021-02-06 06:28

The following controller private method

def set_promotion
  @promotion = Promotion.find(params[:id])
  if !current_shopkeeper.nil?
    @current_user = User.where(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题