test

Ruby code posted
created at 01 Jun 14:16

Edit | Back
1
2
3
4
5
6
7
8
  def index
    @items = current_user.items.roots

    respond_to do |format|
      format.html # index.html.erb
      format.xml  { render :xml => @items }
    end
  end
177 Bytes in 2 ms with coderay