宝石这个是 3D 模型渲染,刻字是 UV
传入变量地址,函数内部修改
skip_before_action :require_no_authentication
定义一个 controller < Devise::SessionsControlle
...
set_flash_message(:notice, :signed_error)
resource = warden.authenticate!(scope: resource_name, recall: "#{controller_path}#failure")
set_flash_message(:notice, :signed_in) if is_navigational_format?
@admin_sign_in = sign_in(resource_name, resource)
...
就是 proxy_pass 代理为本地地址了