diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-04-01 19:40:48 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-02-02 12:33:15 +0100 |
commit | 1f66094bae5144a95decd0a3659b4c270a3bcaa9 (patch) | |
tree | 1421346dda696f8bb4ac0c7e5e3b2ac131201f40 /internal/route | |
parent | ee3c72e394b4a5913b7e6062424112521066cad3 (diff) |
removed remaining landing-page/home fragmentsmygogs
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'internal/route')
-rw-r--r-- | internal/route/home.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/route/home.go b/internal/route/home.go index a389c080..2b12a15b 100644 --- a/internal/route/home.go +++ b/internal/route/home.go @@ -20,7 +20,6 @@ import ( ) const ( - HOME = "home" EXPLORE_REPOS = "explore/repos" EXPLORE_USERS = "explore/users" EXPLORE_ORGANIZATIONS = "explore/organizations" @@ -44,8 +43,7 @@ func Home(c *context.Context) { return } - c.Data["PageIsHome"] = true - c.Success(HOME) + ExploreRepos(c) } func ExploreRepos(c *context.Context) { |