[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. a25c64450f686008652f9fac8434e71a10b16d43
Shawn Moore
sartak at bestpractical.com
Wed Feb 9 23:09:11 EST 2011
The branch, master has been updated
via a25c64450f686008652f9fac8434e71a10b16d43 (commit)
from 40797fdd12a20f76616fcbd4a82d0ce48e3fcd10 (commit)
Summary of changes:
lib/Jifty/Plugin/RecordHistory.pm | 1 -
.../lib/TestApp/Plugin/RecordHistory/View.pm | 2 ++
2 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit a25c64450f686008652f9fac8434e71a10b16d43
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Feb 9 23:08:41 2011 -0500
Revert "Load View in the plugin so no one else needs to"
This reverts commit 40797fdd12a20f76616fcbd4a82d0ce48e3fcd10.
Unfortunately Views must be loaded in the proper sequence, otherwise
things like _ are broken.
diff --git a/lib/Jifty/Plugin/RecordHistory.pm b/lib/Jifty/Plugin/RecordHistory.pm
index 6a714ec..0a437f6 100644
--- a/lib/Jifty/Plugin/RecordHistory.pm
+++ b/lib/Jifty/Plugin/RecordHistory.pm
@@ -2,7 +2,6 @@ package Jifty::Plugin::RecordHistory;
use strict;
use warnings;
use base qw/Jifty::Plugin/;
-use Jifty::Plugin::RecordHistory::View;
our $VERSION = '0.01';
diff --git a/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/View.pm b/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/View.pm
index 2ccb130..49057b4 100644
--- a/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/View.pm
+++ b/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/View.pm
@@ -1,6 +1,8 @@
package TestApp::Plugin::RecordHistory::View;
use Jifty::View::Declare -base;
+use Jifty::Plugin::RecordHistory::View;
+
alias Jifty::Plugin::RecordHistory::View under '/book/history', {
object_type => 'Book',
};
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list