summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:15:44 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:15:44 -0800
commitcc39bca3fa71930421f1c46844b4d02d5ff93e8b (patch)
treef9a600dee04bca35f0319a64ce23bdff7ea724d9 /config
parentc427bf08e41342957632289e084604f53e65e353 (diff)
downloadgitlab-ce-cc39bca3fa71930421f1c46844b4d02d5ff93e8b.tar.gz
Rubocop: Style/AlignHash enabled
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a83c112a882..a2d782cf633 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -294,12 +294,10 @@ Gitlab::Application.routes.draw do
member do
# tree viewer logs
get 'logs_tree', constraints: { id: Gitlab::Regex.git_reference_regex }
- get 'logs_tree/:path' => 'refs#logs_tree',
- as: :logs_file,
- constraints: {
- id: Gitlab::Regex.git_reference_regex,
- path: /.*/
- }
+ get 'logs_tree/:path' => 'refs#logs_tree', as: :logs_file, constraints: {
+ id: Gitlab::Regex.git_reference_regex,
+ path: /.*/
+ }
end
end