Skip to content
Snippets Groups Projects
Commit e219cf72 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Annotate!

parent 4aa22754
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,12 +3,12 @@
user_path: "/api/:version/users/:id.json"
notes_path: "/api/:version/projects/:id/notes.json"
 
# Get 20 (depends on api) recent notes
# Get 20 (depends on api) recent notes
# and sort the ascending from oldest to newest
notes: (project_id, callback) ->
url = Api.buildUrl(Api.notes_path)
url = url.replace(':id', project_id)
$.ajax(
url: url,
data:
Loading
Loading
@@ -37,7 +37,7 @@
# Only active users retrieved
users: (query, callback) ->
url = Api.buildUrl(Api.users_path)
$.ajax(
url: url
data:
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
Loading
Loading
Loading
Loading
@@ -18,6 +18,7 @@
# merge_status :string(255)
# target_project_id :integer not null
# iid :integer
# description :text
#
 
require Rails.root.join("app/models/commit")
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
Loading
Loading
Loading
Loading
@@ -14,6 +14,7 @@
# commit_id :string(255)
# noteable_id :integer
# st_diff :text
# system :boolean default(FALSE), not null
#
 
require 'carrierwave/orm/activerecord'
Loading
Loading
Loading
Loading
@@ -10,6 +10,9 @@
# created_at :datetime not null
# updated_at :datetime not null
# active :boolean default(FALSE), not null
# project_url :string(255)
# subdomain :string(255)
# room :string(255)
#
 
class PivotaltrackerService < Service
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
Loading
Loading
Loading
Loading
@@ -18,6 +18,7 @@
# merge_status :string(255)
# target_project_id :integer not null
# iid :integer
# description :text
#
 
require 'spec_helper'
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
Loading
Loading
Loading
Loading
@@ -14,6 +14,7 @@
# commit_id :string(255)
# noteable_id :integer
# st_diff :text
# system :boolean default(FALSE), not null
#
 
require 'spec_helper'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment