We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d387562 commit c5d1080Copy full SHA for c5d1080
Cpp/odin-views/permission.cpp
@@ -20,7 +20,7 @@ namespace {
20
const fostlib::jcursor userloc{"headers", "__user"};
21
22
23
- std::pair<boost::shared_ptr<fostlib::mime>, int> default_forbidden(
+ std::pair<boost::shared_ptr<fostlib::mime>, int> forbidden_view(
24
const fostlib::string &path,
25
fostlib::http::server::request &req,
26
const fostlib::host &host) {
@@ -85,7 +85,7 @@ namespace {
85
return fostlib::urlhandler::view::execute(
86
config["forbidden"], path, req, host);
87
} else {
88
- return default_forbidden(path, req, host);
+ return forbidden_view(path, req, host);
89
}
90
91
@@ -129,7 +129,7 @@ namespace {
129
130
config["otherwise"], path, req, host);
131
132
133
134
135
0 commit comments