Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
33c7dfb1ce05
Commit
33c7dfb1
authored
May 07, 2018
by
Jan Provaznik
Browse files
Changed order of include
parent
1b7d63ad6051
Changes
4
Hide whitespace changes
Inline
Side-by-side
app/models/appearance.rb
View file @
33c7dfb1
class
Appearance
<
ActiveRecord
::
Base
include
WithUploads
include
CacheMarkdownField
include
AfterCommitQueue
include
ObjectStorage
::
BackgroundMove
...
...
@@ -3,6 +2,7 @@
include
CacheMarkdownField
include
AfterCommitQueue
include
ObjectStorage
::
BackgroundMove
include
WithUploads
cache_markdown_field
:description
cache_markdown_field
:new_project_guidelines
...
...
app/models/group.rb
View file @
33c7dfb1
...
...
@@ -2,7 +2,6 @@
class
Group
<
Namespace
include
Gitlab
::
ConfigHelper
include
WithUploads
include
AfterCommitQueue
include
AccessRequestable
include
Avatarable
...
...
@@ -11,6 +10,7 @@
include
LoadedInGroupList
include
GroupDescendant
include
TokenAuthenticatable
include
WithUploads
has_many
:group_members
,
->
{
where
(
requested_at:
nil
)
},
dependent: :destroy
,
as: :source
# rubocop:disable Cop/ActiveRecordDependent
alias_method
:members
,
:group_members
...
...
app/models/project.rb
View file @
33c7dfb1
...
...
@@ -4,7 +4,6 @@
include
Gitlab
::
ConfigHelper
include
Gitlab
::
ShellAdapter
include
Gitlab
::
VisibilityLevel
include
WithUploads
include
AccessRequestable
include
Avatarable
include
CacheMarkdownField
...
...
@@ -24,6 +23,7 @@
include
::
Gitlab
::
Utils
::
StrongMemoize
include
ChronicDurationAttribute
include
FastDestroyAll
::
Helpers
include
WithUploads
extend
Gitlab
::
ConfigHelper
...
...
app/models/user.rb
View file @
33c7dfb1
...
...
@@ -3,7 +3,6 @@
class
User
<
ActiveRecord
::
Base
extend
Gitlab
::
ConfigHelper
include
WithUploads
include
Gitlab
::
ConfigHelper
include
Gitlab
::
SQL
::
Pattern
include
AfterCommitQueue
...
...
@@ -18,6 +17,7 @@
include
IgnorableColumn
include
BulkMemberAccessLoad
include
BlocksJsonSerialization
include
WithUploads
DEFAULT_NOTIFICATION_LEVEL
=
:participating
...
...
Write
Preview
Supports
Markdown
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