additional functional tests, some controller fixes
This commit is contained in:
3
app/views/comment_votes/create.js.erb
Normal file
3
app/views/comment_votes/create.js.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<% if @error %>
|
||||
alert(<%= escape_javascript(@error.to_s) %>);
|
||||
<% end %>
|
||||
@@ -1,3 +0,0 @@
|
||||
if @error
|
||||
page.alert(@error.to_s)
|
||||
end
|
||||
Reference in New Issue
Block a user