Skip to content

Commit

Permalink
restore api url
Browse files Browse the repository at this point in the history
  • Loading branch information
vietnogi committed Jun 24, 2015
1 parent d3834f0 commit 4ee1a57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions app/scripts/messages-api.service.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ transformResponse = (response) ->
parsed?.result?.content || []

srv = ($resource, API_URL) ->
# url = API_URL + '/messages/:id'
url = 'http://localhost:8080/v3/messages/:id'
url = API_URL + '/messages/:id'

params =
id: '@id'
Expand Down
3 changes: 1 addition & 2 deletions app/scripts/threads-api.service.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ transformResponse = (response) ->
parsed?.result?.content || {}

srv = ($resource, API_URL) ->
# url = API_URL + '/threads/:id'
url = 'http://localhost:8080/v3/threads/:id'
url = API_URL + '/threads/:id'

params =
id : '@id'
Expand Down
4 changes: 2 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ $templateCache.put("views/threads.directive.html","<ul><li ng-repeat=\"thread in

srv = function($resource, API_URL) {
var methods, params, url;
url = 'http://localhost:8080/v3/messages/:id';
url = API_URL + '/messages/:id';
params = {
id: '@id'
};
Expand Down Expand Up @@ -247,7 +247,7 @@ $templateCache.put("views/threads.directive.html","<ul><li ng-repeat=\"thread in

srv = function($resource, API_URL) {
var actions, params, url;
url = 'http://localhost:8080/v3/threads/:id';
url = API_URL + '/threads/:id';
params = {
id: '@id',
subscriberId: '@subscriberId'
Expand Down

0 comments on commit 4ee1a57

Please sign in to comment.