Skip to content

Instantly share code, notes, and snippets.

@jenaiz
Created November 3, 2008 11:54
Show Gist options
  • Save jenaiz/21861 to your computer and use it in GitHub Desktop.
Save jenaiz/21861 to your computer and use it in GitHub Desktop.
class AdvisesController < ApplicationController
def show
@advise = Advise.find(params[:id])
respond_to do |format|
format.html # show.html.erb
format.xml { render :xml => @advise }
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment