Module: Pasaporte::Controllers

Defined in:
lib/pasaporte.rb

Defined Under Namespace

Modules: Nicknames Classes: ApprovalsPage, Assets, DashPage, Decide, DeleteApproval, EditProfile, FormExpired, Openid, ProfilePage, Signon, Signout, ThrottledPage, Yadis

Class Method Summary collapse

Class Method Details

.personal(uri = nil) ⇒ Object

Make a controller for a specfic user



240
241
242
243
244
245
# File 'lib/pasaporte.rb', line 240

def self.personal(uri = nil)
  returning(R(['/([0-9A-Za-z\-\_]+)', uri].compact.join("/"))) do | ak |
    ak.send(:include, Secure::CheckMethods)
    ak.send(:include, Nicknames)
  end
end