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
0c9e2e70
Commit
0c9e2e70
authored
Dec 14, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo in activity and entities
parent
d9894f25
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/api/entities.rb
lib/api/entities.rb
+1
-1
lib/gitlab/user/activity.rb
lib/gitlab/user/activity.rb
+1
-1
No files found.
lib/api/entities.rb
View file @
0c9e2e70
...
@@ -20,7 +20,7 @@ module API
...
@@ -20,7 +20,7 @@ module API
class
UserActivity
<
Grape
::
Entity
class
UserActivity
<
Grape
::
Entity
expose
:username
expose
:username
expose
:
date
expose
:
last_activity_at
end
end
class
Identity
<
Grape
::
Entity
class
Identity
<
Grape
::
Entity
...
...
lib/gitlab/user/activity.rb
View file @
0c9e2e70
...
@@ -8,7 +8,7 @@ module Gitlab
...
@@ -8,7 +8,7 @@ module Gitlab
@time
=
time
@time
=
time
end
end
def
lat_activity_at
def
la
s
t_activity_at
@lat_activity_at
||=
Time
.
at
(
@time
).
to_s
(
:db
)
@lat_activity_at
||=
Time
.
at
(
@time
).
to_s
(
:db
)
end
end
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