From ff35c500dd05b00c486e52cc5b53baac4d8dc7f5 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Sun, 16 Jul 2017 17:19:40 +0200 Subject: [PATCH] Renaming static.go to router.go for consistency --- controllers/router.go | 1 + controllers/static/{static.go => router.go} | 0 2 files changed, 1 insertion(+) rename controllers/static/{static.go => router.go} (100%) diff --git a/controllers/router.go b/controllers/router.go index efdc66f2..3f8f49a3 100644 --- a/controllers/router.go +++ b/controllers/router.go @@ -16,6 +16,7 @@ import ( "github.com/NyaaPantsu/nyaa/controllers/router" _ "github.com/NyaaPantsu/nyaa/controllers/search" // search controller _ "github.com/NyaaPantsu/nyaa/controllers/settings" // settings controller + _ "github.com/NyaaPantsu/nyaa/controllers/static" // static files _ "github.com/NyaaPantsu/nyaa/controllers/torrent" // torrent controller _ "github.com/NyaaPantsu/nyaa/controllers/upload" // upload controller _ "github.com/NyaaPantsu/nyaa/controllers/user" // user controller diff --git a/controllers/static/static.go b/controllers/static/router.go similarity index 100% rename from controllers/static/static.go rename to controllers/static/router.go