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
aad745c9
Commit
aad745c9
authored
Jul 25, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve app/models/project_feature.rb
parent
384e6728
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
app/models/project_feature.rb
app/models/project_feature.rb
+0
-3
No files found.
app/models/project_feature.rb
View file @
aad745c9
...
...
@@ -53,15 +53,12 @@ class ProjectFeature < ActiveRecord::Base
default_value_for
:wiki_access_level
,
value:
ENABLED
,
allows_nil:
false
default_value_for
:repository_access_level
,
value:
ENABLED
,
allows_nil:
false
<<<<<<<
HEAD
after_commit
on: :update
do
if
Gitlab
::
CurrentSettings
.
current_application_settings
.
elasticsearch_indexing?
ElasticIndexerWorker
.
perform_async
(
:update
,
'Project'
,
project_id
)
end
end
=======
>>>>>>>
upstream
/
master
after_create
->
(
model
)
{
SiteStatistic
.
track
(
STATISTICS_ATTRIBUTE
)
if
model
.
wiki_enabled?
}
after_update
:update_site_statistics
...
...
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