OSDN Git Service
(root)
/
newslash
/
newslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01d1753
)
Web: change handler for /api/v1/login
author
hylom
<hylom@users.sourceforge.jp>
Tue, 4 Apr 2017 13:24:15 +0000
(22:24 +0900)
committer
hylom
<hylom@users.sourceforge.jp>
Tue, 4 Apr 2017 13:24:15 +0000
(22:24 +0900)
src/newslash_web/lib/Newslash/Web.pm
patch
|
blob
|
history
diff --git
a/src/newslash_web/lib/Newslash/Web.pm
b/src/newslash_web/lib/Newslash/Web.pm
index
da1f33a
..
9c47742
100644
(file)
--- a/
src/newslash_web/lib/Newslash/Web.pm
+++ b/
src/newslash_web/lib/Newslash/Web.pm
@@
-159,7
+159,7
@@
sub startup {
my $api = $r->under('/api/v1');
$api->get('/sidebars')->to('admin-sidebar#list');
- $api->post('/login')->to('API::Login#
check_password
');
+ $api->post('/login')->to('API::Login#
login
');
$api->get('/comment')->to('API::Comment#get');
$api->post('/comment')->to('API::Comment#post');