Removes all remaining traces of setting the user_id in the browser.
This commit is contained in:
@@ -4,7 +4,6 @@ App.Annotable =
|
||||
$this = $(this)
|
||||
ann_type = $this.data("annotable-type")
|
||||
ann_id = $this.data("annotable-id")
|
||||
ann_user_id = $this.data("annotable-user-id")
|
||||
|
||||
app = new annotator.App()
|
||||
.include(annotator.ui.main, { element: this })
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<section data-annotable-type="legislation"
|
||||
data-annotable-id="<%= @legislation.id %>"
|
||||
data-annotable-user-id="<%= current_user.try(:id) %>">
|
||||
data-annotable-id="<%= @legislation.id %>">
|
||||
|
||||
<div><%= @legislation.title %></div>
|
||||
<div id="test"><%= @legislation.body %></div>
|
||||
|
||||
Reference in New Issue
Block a user