[Bps-public-commit] smokingit branch, master, updated. 2ada62e5f741ec21ca281177fd46642cf28bbfae

Thomas Sibley trs at bestpractical.com
Mon Dec 3 15:05:00 EST 2012


The branch, master has been updated
       via  2ada62e5f741ec21ca281177fd46642cf28bbfae (commit)
      from  da75bf78290eea8ec1281492dc5120747b4dc695 (commit)

Summary of changes:
 lib/Smokingit/Dispatcher.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 2ada62e5f741ec21ca281177fd46642cf28bbfae
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Dec 3 11:24:27 2012 -0800

    Allow the autogenerated Search* actions for projects, configs, and branches

diff --git a/lib/Smokingit/Dispatcher.pm b/lib/Smokingit/Dispatcher.pm
index 114f877..710fe99 100644
--- a/lib/Smokingit/Dispatcher.pm
+++ b/lib/Smokingit/Dispatcher.pm
@@ -12,7 +12,8 @@ before '*' => run {
         $api->allow("Logout");
         $api->allow("Test");
         $api->allow("UpdateBranch");
-        $api->allow(qr/^Smokingit::Action::(Create|Update|Delete)(Configuration|Project)$/);
+        $api->allow("SearchBranch");
+        $api->allow(qr/^Smokingit::Action::(Create|Update|Delete|Search)(Configuration|Project)$/);
     } else {
         $api->allow("Login");
         $api->allow("GeneratePasswordToken");

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



More information about the Bps-public-commit mailing list