Add custom_details and custom_activity_details as first routes

how this works: we use find_by_host() to find the Host in question, the
defer to the existing function!

Caveat: Currently, we, in that function, we do another lookup DB lookup
for the Blog, even thou we already know it.
It might be wise, to have both of those another wrapper here?!
This commit is contained in:
Igor Galić
2019-05-27 17:55:09 +02:00
committed by Igor Galić
parent 0645f7e253
commit 468e663344
4 changed files with 53 additions and 9 deletions
+9 -9
View File
@@ -36,39 +36,39 @@ msgstr ""
msgid "{0}'s avatar"
msgstr ""
# src/routes/blogs.rs:64
# src/routes/blogs.rs:84
msgid "To create a new blog, you need to be logged in"
msgstr ""
# src/routes/blogs.rs:106
# src/routes/blogs.rs:126
msgid "A blog with the same name already exists."
msgstr ""
# src/routes/blogs.rs:141
# src/routes/blogs.rs:161
msgid "Your blog was successfully created!"
msgstr ""
# src/routes/blogs.rs:163
# src/routes/blogs.rs:183
msgid "Your blog was deleted."
msgstr ""
# src/routes/blogs.rs:170
# src/routes/blogs.rs:190
msgid "You are not allowed to delete this blog."
msgstr ""
# src/routes/blogs.rs:218
# src/routes/blogs.rs:238
msgid "You are not allowed to edit this blog."
msgstr ""
# src/routes/blogs.rs:263
# src/routes/blogs.rs:283
msgid "You can't use this media as a blog icon."
msgstr ""
# src/routes/blogs.rs:281
# src/routes/blogs.rs:301
msgid "You can't use this media as a blog banner."
msgstr ""
# src/routes/blogs.rs:314
# src/routes/blogs.rs:334
msgid "Your blog information have been updated."
msgstr ""