Skip to content
Snippets Groups Projects
Commit 0012de8c authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Rename lfs_enabled helper method

parent 7dff0946
No related branches found
No related tags found
No related merge requests found
class Projects::LfsApiController < Projects::GitHttpClientController
include LfsHelper
 
before_action :lfs_enabled!
before_action :require_lfs_enabled!
before_action :lfs_check_access!, except: [:deprecated]
 
def batch
Loading
Loading
class Projects::LfsStorageController < Projects::GitHttpClientController
include LfsHelper
 
before_action :lfs_enabled!
before_action :require_lfs_enabled!
before_action :lfs_check_access!
 
def download
Loading
Loading
module LfsHelper
def lfs_enabled!
def require_lfs_enabled!
return if Gitlab.config.lfs.enabled
 
render(
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment