<%= form_for @asset, :url => admin_asset_path(@asset), :remote => true do |f| %> <%= token_tag form_authenticity_token %> <% end %>