Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def show
- @order_item = @account.parent.order_items.find(params[:id])
- respond_to do |f|
- f.html do
- end
- f.json do
- #render :json => @order_item.json_attributes, :callback => params[:callback]
- end
- f.js do
- render :text => 'hi'
- end
- end
- end
Add Comment
Please, Sign In to add comment