Skip to content

Commit

Permalink
change /db to /
Browse files Browse the repository at this point in the history
  • Loading branch information
comptekki committed Jan 29, 2013
1 parent 59df965 commit 44014d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db_edit_handler.erl
Expand Up @@ -140,7 +140,7 @@ $('#uname').focus();
</script>
</head>
<body>
<form action='/db/edit' method='post'>
<form action='/edit' method='post'>
<div>
<h3>", ?TITLE/binary, " Login</h3>
</div>
Expand Down Expand Up @@ -198,7 +198,7 @@ handle(Req, State) ->
end
end;
_ ->
Req1 = cowboy_req:set_resp_header(<<"Location">>, [<<"/db">>], Req),
Req1 = cowboy_req:set_resp_header(<<"Location">>, [<<"/">>], Req),
{ok, Req2} = cowboy_req:reply(302, [], <<>>, Req1),
{ok, Req2, State}
end;
Expand Down

0 comments on commit 44014d7

Please sign in to comment.