Show current_user as the preferred schema accessor master
authorTomas Doran <bobtfish@bobtfish.net>
Wed, 10 Aug 2011 15:59:57 +0000 (16:59 +0100)
committerTomas Doran <bobtfish@bobtfish.net>
Wed, 10 Aug 2011 16:00:01 +0000 (17:00 +0100)
commit50fd24f32f5aafe4b4db0469181255075f0e5af9
tree21aed2bb98bee4c0980e9a09cd0a263a3b666937
parent0077bcc89e8484057713d4b4f9c711e8017ae914
Show current_user as the preferred schema accessor

Fits in Better with Catalyst-TraitFor-Model-DBIC-Schema-WithCurrentUser, which
takes less code / config to get working.

However we still support ->current_user_id being called, if present, although
->current_user will be used in preference
lib/DBIx/Class/UserStamp.pm