[Bps-public-commit] App-Changeloggr branch, master, updated. 593250085e9952809422fef8661279304a42189f

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 29 18:11:23 EDT 2009


The branch, master has been updated
       via  593250085e9952809422fef8661279304a42189f (commit)
       via  369f4400ce2b1f43c489a3c870a216c39d57ca01 (commit)
       via  36f1a99cedce22c630fd973b431d4c2b3907e245 (commit)
      from  f5d15655fe3ed8c15ab28bb38f8b8cc52e93a1f8 (commit)

Summary of changes:
 lib/App/Changeloggr/Dispatcher.pm   |    2 ++
 lib/App/Changeloggr/View.pm         |    3 +++
 lib/App/Changeloggr/View/Account.pm |   11 +++++++++++
 3 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 lib/App/Changeloggr/View/Account.pm

- Log -----------------------------------------------------------------
commit 36f1a99cedce22c630fd973b431d4c2b3907e245
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 29 18:03:51 2009 -0400

    Begin adding user-specific views

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index b1c5cfc..c2b95ab 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -7,6 +7,9 @@ use warnings;
 require App::Changeloggr::View::Admin;
 alias App::Changeloggr::View::Admin under '/admin';
 
+require App::Changeloggr::View::User;
+alias App::Changeloggr::View::User under '/user';
+
 # No salutation, ever
 template '/salutation' => sub {};
 
diff --git a/lib/App/Changeloggr/View/User.pm b/lib/App/Changeloggr/View/User.pm
new file mode 100644
index 0000000..5ab2b70
--- /dev/null
+++ b/lib/App/Changeloggr/View/User.pm
@@ -0,0 +1,8 @@
+package App::Changeloggr::View::User;
+use Jifty::View::Declare -base;
+use JiftyX::ModelHelpers;
+use strict;
+use warnings;
+
+1;
+

commit 369f4400ce2b1f43c489a3c870a216c39d57ca01
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 29 18:04:35 2009 -0400

    Add user tab to the nav

diff --git a/lib/App/Changeloggr/Dispatcher.pm b/lib/App/Changeloggr/Dispatcher.pm
index 23d4470..1ba41db 100644
--- a/lib/App/Changeloggr/Dispatcher.pm
+++ b/lib/App/Changeloggr/Dispatcher.pm
@@ -6,6 +6,8 @@ before '*' => run {
       my $top = Jifty->web->navigation;
       $top->child(Home => url => '/');
       $top->child(New => url => '/admin/create-changelog', label => 'New Changelog');
+      $top->child(User => url => '/user');
+
       Jifty->web->session->expires( '+1y' );
 };
 

commit 593250085e9952809422fef8661279304a42189f
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 29 18:11:02 2009 -0400

    Rename User to Account (plugin name clash)

diff --git a/lib/App/Changeloggr/Dispatcher.pm b/lib/App/Changeloggr/Dispatcher.pm
index 1ba41db..ce09483 100644
--- a/lib/App/Changeloggr/Dispatcher.pm
+++ b/lib/App/Changeloggr/Dispatcher.pm
@@ -6,7 +6,7 @@ before '*' => run {
       my $top = Jifty->web->navigation;
       $top->child(Home => url => '/');
       $top->child(New => url => '/admin/create-changelog', label => 'New Changelog');
-      $top->child(User => url => '/user');
+      $top->child(Account => url => '/account');
 
       Jifty->web->session->expires( '+1y' );
 };
diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index c2b95ab..848af69 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -7,8 +7,8 @@ use warnings;
 require App::Changeloggr::View::Admin;
 alias App::Changeloggr::View::Admin under '/admin';
 
-require App::Changeloggr::View::User;
-alias App::Changeloggr::View::User under '/user';
+require App::Changeloggr::View::Account;
+alias App::Changeloggr::View::Account under '/account';
 
 # No salutation, ever
 template '/salutation' => sub {};
diff --git a/lib/App/Changeloggr/View/User.pm b/lib/App/Changeloggr/View/Account.pm
similarity index 53%
rename from lib/App/Changeloggr/View/User.pm
rename to lib/App/Changeloggr/View/Account.pm
index 5ab2b70..dc34b10 100644
--- a/lib/App/Changeloggr/View/User.pm
+++ b/lib/App/Changeloggr/View/Account.pm
@@ -1,8 +1,11 @@
-package App::Changeloggr::View::User;
+package App::Changeloggr::View::Account;
 use Jifty::View::Declare -base;
 use JiftyX::ModelHelpers;
 use strict;
 use warnings;
 
+template '/index.html' => page {
+};
+
 1;
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list