Skip to content

Instantly share code, notes, and snippets.

Avatar

Keith Morrison klm

  • Vista Higher Learning
  • Boston, MA
View GitHub Profile
@klm
klm / keybase.md
Created Jan 12, 2015
keybase.io auth
View keybase.md

Keybase proof

I hereby claim:

  • I am klm on github.
  • I am klm (https://keybase.io/klm) on keybase.
  • I have a public key whose fingerprint is 4A67 EEEE F40B 0730 4445 488E 6078 4C66 E788 F9C3

To claim this, I am signing this object:

View gist:134870
def show
if @trial.active? || is_admin?
respond_to do |format|
format.html
format.xml { render :xml => @trial.to_xml(:include => [:topics, :contacts, :investigators, :institutions]) }
end
else
render 'admin_only'
end
end