Permalink
Browse files

tidy up filenames a bit

  • Loading branch information...
1 parent 4d72271 commit 0e4cc6cc4c8cd270065b1dd01299b1332aad1071 @djones committed May 11, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 app/apis/{posts_api.rb → posts.rb}
  2. +2 −2 server.rb
@@ -1,4 +1,4 @@
-class PostsAPI < Grape::API
+class Posts < Grape::API
version 'v1', :using => :path
format :json
View
@@ -3,13 +3,13 @@
require 'goliath'
require 'em-synchrony/activerecord'
require 'grape'
-require './app/apis/posts_api'
+require './app/apis/posts'
require './app/models/post'
class Application < Goliath::API
def response(env)
- ::PostsAPI.call(env)
+ ::Posts.call(env)
end
end

0 comments on commit 0e4cc6c

Please sign in to comment.