Since `disabled` is `attr_accessible` on Agent, you could probably just make a form that puts to `agent_path(@agent)`, using the existing update action, with `agents[disabled]=true` or `agents[disabled]=false`.

I tested it and this works:

    <%= link_to "disable", agent_path(@agent, :agent => { :disabled => true }), :method => :put %>