Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a94cc688
Commit
a94cc688
authored
Apr 27, 2020
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Vue LFS badge by default
parent
44b4bab3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/controllers/projects/refs_controller.rb
app/controllers/projects/refs_controller.rb
+1
-1
app/controllers/projects/tree_controller.rb
app/controllers/projects/tree_controller.rb
+1
-1
No files found.
app/controllers/projects/refs_controller.rb
View file @
a94cc688
...
...
@@ -12,7 +12,7 @@ class Projects::RefsController < Projects::ApplicationController
before_action
:authorize_download_code!
before_action
only:
[
:logs_tree
]
do
push_frontend_feature_flag
(
:vue_file_list_lfs_badge
)
push_frontend_feature_flag
(
:vue_file_list_lfs_badge
,
default_enabled:
true
)
end
def
switch
...
...
app/controllers/projects/tree_controller.rb
View file @
a94cc688
...
...
@@ -16,7 +16,7 @@ class Projects::TreeController < Projects::ApplicationController
before_action
:authorize_edit_tree!
,
only:
[
:create_dir
]
before_action
only:
[
:show
]
do
push_frontend_feature_flag
(
:vue_file_list_lfs_badge
)
push_frontend_feature_flag
(
:vue_file_list_lfs_badge
,
default_enabled:
true
)
end
def
show
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment