您好從Zend Framework開始,並且有一個關於動作助手的問題。我的第一個應用程序是一個簡單的認證系統(遵循書中的教程)。註冊和身份驗證似乎工作正常,但重定向不。 我有一個客戶控制器具有此其中包括: class CustomerController extends Zend_Controller_Action
{
// some code here......
public fun
我的應用程序應該呈現html,以在用戶單擊ajax-link時回答。 我的控制器: def create_user
@user = User.new(params)
if @user.save
status = 'success'
link = link_to_profile(@user) #it's my custom helper in Applicat