Skip to content

Instantly share code, notes, and snippets.

@jamesalmond
Created November 9, 2010 21:43
Show Gist options
  • Save jamesalmond/669874 to your computer and use it in GitHub Desktop.
Save jamesalmond/669874 to your computer and use it in GitHub Desktop.
class SomeObjectController < ApplicationController
def show
@object = SomeObject.find(params[:id])
render @object.status
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment