Compare commits

..

No commits in common. "29486ac7a29e3ab9358190502e56fbf182fcdddc" and "20e2be114a181680f37e9f1d3821611c59d6552e" have entirely different histories.

View File

@ -26,7 +26,7 @@ async fn index(
let mut context = Context::new();
if user.has_role(db, "cox").await || user.has_role(db, "planned_event").await {
if user.has_role(db, "cox").await || user.has_role(db, "admin").await {
let triptypes = TripType::all(db).await;
context.insert("trip_types", &triptypes);
}