Skip to content

Commit

Permalink
Item12839: flag rest handlers that don't require authentication
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/RenderPlugin@17504 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Apr 4, 2014
1 parent cf1a679 commit 41c33d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Foswiki/Plugins/RenderPlugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ sub writeDebug {
sub initPlugin {
my ($topic, $web, $user, $installWeb) = @_;

Foswiki::Func::registerRESTHandler('tag', \&restTag);
Foswiki::Func::registerRESTHandler('template', \&restTemplate);
Foswiki::Func::registerRESTHandler('expand', \&restExpand);
Foswiki::Func::registerRESTHandler('render', \&restRender);
Foswiki::Func::registerRESTHandler('tag', \&restTag, authenticate => 0);
Foswiki::Func::registerRESTHandler('template', \&restTemplate, authenticate => 0);
Foswiki::Func::registerRESTHandler('expand', \&restExpand, authenticate => 0);
Foswiki::Func::registerRESTHandler('render', \&restRender, authenticate => 0);

return 1;
}
Expand Down

0 comments on commit 41c33d2

Please sign in to comment.