Coderay Test...

Posted by robon June 05, 2007

A completely useless post, just showing that I got Coderay running correctly again.

1
2
3
4
5
6
7
8
9
10
11
12
class AirportsController < ApplicationController

  def index
    @airports = Airport.find :all

    respond_to do |format|
      format.html  # do nothing, allow Rails to render index.rhtml
      format.js    # do nothing, allow Rails to render index.rjs
      format.xml   { render :xml => @airports.to_xml }
    end
  end
end

Comments

Leave a response