ApiError: page.failure: NoMethodError : undefined method `redirect_to' for #<Hilv1::ErbContext:0x000055b84908f848>