diff options
author | Cindy Pallares <cindy@gitlab.com> | 2018-10-19 11:36:41 -0500 |
---|---|---|
committer | Cindy Pallares <cindy@gitlab.com> | 2018-10-22 12:55:49 -0500 |
commit | be493207b069d832d5ecb97fb157df60fa58094f (patch) | |
tree | 9ce0c6d3f952c2fb0ae5d34d05f09f77f6dd1e6d /lib/api/snippets.rb | |
parent | 019701ce9e0675e2727dcced84d4c406a1592f96 (diff) | |
download | gitlab-ce-be493207b069d832d5ecb97fb157df60fa58094f.tar.gz |
Alias the lfs_enabled methodlfs-project-attribute-alias
We currently check for `project.lfs_enabled` to display
the state of lfs being enabled/disabled, but this is set to nil by
default, even when lfs is enabled.
Aliasing the method to #lfs_enabled? will return the correct state.
Diffstat (limited to 'lib/api/snippets.rb')
0 files changed, 0 insertions, 0 deletions