Rename CreateRepositoryController to CreateController.

This commit is contained in:
takezoe
2014-03-03 01:21:22 +09:00
parent 270eb7cf1d
commit d870896cfb
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ class ScalatraBootstrap extends LifeCycle {
context.mount(new DashboardController, "/*")
context.mount(new UserManagementController, "/*")
context.mount(new SystemSettingsController, "/*")
context.mount(new CreateRepositoryController, "/*")
context.mount(new CreateController, "/*")
context.mount(new AccountController, "/*")
context.mount(new RepositoryViewerController, "/*")
context.mount(new WikiController, "/*")

View File

@@ -11,14 +11,14 @@ import org.eclipse.jgit.dircache.DirCache
import org.scalatra.i18n.Messages
import org.apache.commons.io.FileUtils
class CreateRepositoryController extends CreateRepositoryControllerBase
class CreateController extends CreateControllerBase
with RepositoryService with AccountService with WikiService with LabelsService with ActivityService
with UsersAuthenticator with ReadableUsersAuthenticator
/**
* Creates new repository or group.
*/
trait CreateRepositoryControllerBase extends AccountManagementControllerBase {
trait CreateControllerBase extends AccountManagementControllerBase {
self: RepositoryService with AccountService with WikiService with LabelsService with ActivityService
with UsersAuthenticator with ReadableUsersAuthenticator =>