Skip to content

Commit

Permalink
correct API for retrieving file list
Browse files Browse the repository at this point in the history
  • Loading branch information
shelling committed Dec 12, 2012
1 parent d3e1e72 commit e8d46c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/javascripts/collections/files.js
Expand Up @@ -2,5 +2,5 @@ DropboxIO.Collection.Files = Backbone.Collection.extend({
initialize: function() {
},
model: DropboxIO.Model.File,
url: "/file/list",
url: "/file",
});
2 changes: 1 addition & 1 deletion routes/file_handler.rb
@@ -1,6 +1,6 @@
class App < Sinatra::Base

get "/file/list" do
get "/file/?" do
MogFile.all.to_json
end

Expand Down

0 comments on commit e8d46c9

Please sign in to comment.