Skip to content

Commit

Permalink
Update index.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
teusbenschop committed May 12, 2024
1 parent 94644d3 commit 8ceb3fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions edit/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ bool edit_index_acl (Webserver_Request& webserver_request)
{
if (Filter_Roles::access_control (webserver_request, Filter_Roles::translator ()))
return true;
auto [ read, write ] = access_bible::any (webserver_request);
const auto [ read, write ] = access_bible::any (webserver_request);
return write;
}

Expand Down Expand Up @@ -181,10 +181,10 @@ std::string edit_index (Webserver_Request& webserver_request)
view.set_variable ("spellcheck", filter::strings::convert_to_true_false(webserver_request.database_config_user ()->get_enable_spell_check()));


page += view.render ("edit", "index");
page.append (view.render ("edit", "index"));


page += assets_page::footer ();
page.append (assets_page::footer ());


return page;
Expand Down

0 comments on commit 8ceb3fc

Please sign in to comment.