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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
52ac2cac
Commit
52ac2cac
authored
Jan 20, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
6387405a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/snippet.rb
app/models/snippet.rb
+1
-1
doc/development/api_graphql_styleguide.md
doc/development/api_graphql_styleguide.md
+1
-1
No files found.
app/models/snippet.rb
View file @
52ac2cac
...
...
@@ -229,7 +229,7 @@ class Snippet < ApplicationRecord
(
public
?
&&
(
title_changed?
||
content_changed?
))
end
# snippe
r
s are the biggest sources of spam
# snippe
t
s are the biggest sources of spam
override
:
allow_possible_spam?
def
allow_possible_spam?
false
...
...
doc/development/api_graphql_styleguide.md
View file @
52ac2cac
...
...
@@ -220,7 +220,7 @@ end
them non-nullable. These options can still be overridden by adding
them as arguments.
-
**`ability_field`**
: Expose an ability defined in our policies. This
takes
behaves the same way as
`permission_field`
and the same
behaves the same way as
`permission_field`
and the same
arguments can be overridden.
-
**`abilities`**
: Allows exposing several abilities defined in our
policies at once. The fields for these will all have be non-nullable
...
...
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