# Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. require 'ramaze' class MainController < Ramaze::Controller helper :identity def index if session[:openid_identity] %{

#{flash[:success]}

You are logged in as #{session[:openid_identity]}

} else openid_login_form end end end Ramaze.start