Sha256: b1d0d1925d6aae3815aba004b94013f3e64470653e1404e67dd8b2d474a40ef7
Contents?: true
Size: 458 Bytes
Versions: 9
Compression:
Stored size: 458 Bytes
Contents
# 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] %{ <h1>#{flash[:success]}</h1> <p>You are logged in as #{session[:openid_identity]}</p> } else openid_login_form end end end Ramaze.start
Version data entries
9 entries across 9 versions & 1 rubygems