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
e9259ea3dfc0
Commit
da347f36
authored
Sep 27, 2015
by
Robert Speicher
Browse files
Simplify Note#editable?
parent
59591e35dc54
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/note.rb
View file @
e9259ea3
...
...
@@ -366,6 +366,6 @@ def system?
end
def
editable?
!
read_attribute
(
:
system
)
!
system
?
end
end
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