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
8f1190f7
Commit
8f1190f7
authored
Nov 21, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use hash instead of json.
parent
b68e1123
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/audit_event.rb
app/models/audit_event.rb
+1
-1
app/views/audit_events/_event_table.html.haml
app/views/audit_events/_event_table.html.haml
+1
-1
No files found.
app/models/audit_event.rb
View file @
8f1190f7
class
AuditEvent
<
ActiveRecord
::
Base
class
AuditEvent
<
ActiveRecord
::
Base
serialize
:details
,
JSON
serialize
:details
,
Hash
belongs_to
:user
,
foreign_key: :author_id
belongs_to
:user
,
foreign_key: :author_id
...
...
app/views/audit_events/_event_table.html.haml
View file @
8f1190f7
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
%td
%td
%td
#{
raw
human_text
(
event
.
details
)
}
%td
#{
raw
human_text
(
event
.
details
)
}
%td
%td
%td
#{
event
.
details
[
'target_details'
]
}
%td
#{
event
.
details
[
:target_details
]
}
%td
%td
%td
#{
event
.
created_at
}
%td
#{
event
.
created_at
}
=
paginate
events
=
paginate
events
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