mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Add files to path blacklist.
Remove empty ErrorsController
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
class ErrorsController < ApplicationController
|
||||
end
|
||||
@@ -100,8 +100,6 @@ Gitlab::Application.routes.draw do
|
||||
root to: "dashboard#index"
|
||||
end
|
||||
|
||||
get "errors/githost"
|
||||
|
||||
#
|
||||
# Profile Area
|
||||
#
|
||||
|
||||
@@ -3,7 +3,7 @@ module Gitlab
|
||||
extend self
|
||||
|
||||
def path
|
||||
%w(admin dashboard groups help profile projects search public assets u s teams merge_requests issues users snippets services repository hooks notes)
|
||||
%w(admin dashboard files groups help profile projects search public assets u s teams merge_requests issues users snippets services repository hooks notes)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -111,13 +111,6 @@ describe HelpController, "routing" do
|
||||
end
|
||||
end
|
||||
|
||||
# errors_githost GET /errors/githost(.:format) errors#githost
|
||||
describe ErrorsController, "routing" do
|
||||
it "to #githost" do
|
||||
get("/errors/githost").should route_to('errors#githost')
|
||||
end
|
||||
end
|
||||
|
||||
# profile_account GET /profile/account(.:format) profile#account
|
||||
# profile_history GET /profile/history(.:format) profile#history
|
||||
# profile_password PUT /profile/password(.:format) profile#password_update
|
||||
|
||||
Reference in New Issue
Block a user