gitlab-org--gitlab-foss/lib
Dmitriy Zaporozhets 73adae0f62 Merge branch 'dz-cleanup-routing' into 'master'
Remove NamespacesController

* removes unnecessary NamespacesController. The main purpose of this controller was redirect to group or user page when URL like https://gitlab.com/gitlab-org was used. Now this functionality is handled by constrainers (like this https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/routes/user.rb#L17-21) and take user to correct controller right from the start.
* serve non existing API routes like `/api/v3/whatever` with Grape instead of Rails. Before this change wrong API url was served by rails with not obvious 404, 405 & 500 errors


See merge request !6733
2016-10-11 06:58:05 +00:00
..
api Replace undefined Grape routing code from 400 to 404 2016-10-10 16:32:32 +03:00
assets
backup
banzai HTMLEntityFilter -> HtmlEntityFilter 2016-10-10 15:46:26 +01:00
ci
constraints
container_registry
gitlab Merge branch 'explain-0600' into 'master' 2016-10-10 15:18:46 +00:00
json_web_token
omni_auth
rouge/formatters
support
tasks Merge branch 'memoize_shell_secret_token' into 'master' 2016-10-07 10:35:03 +00:00
banzai.rb
disable_email_interceptor.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb