aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee')
-rw-r--r--sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee10
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee b/sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee
new file mode 100644
index 00000000000..5acffc066e7
--- /dev/null
+++ b/sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee
@@ -0,0 +1,10 @@
+define [
+ 'backbone'
+], (
+ Backbone
+) ->
+
+ class QualityGate extends Backbone.Model
+
+ url: ->
+ "#{baseUrl}/api/qualitygates/show?id=#{@get('id')}"