Skip to content

Commit

Permalink
Merge 3599886 into 5dee703
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl committed Jan 7, 2013
2 parents 5dee703 + 3599886 commit 1537606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -822,10 +822,10 @@ module API
desc 'Statuses index', {
:object_fields => API::Entities::Status.documentation
}
get '/statues' do
get '/statuses' do
statuses = Status.all
type = current_user.admin? ? :full : :default
present statues, with: API::Entities::Status, :type => type
present statuses, with: API::Entities::Status, :type => type
end
end
end
Expand Down Expand Up @@ -961,7 +961,7 @@ For instance when you're API needs to get part of an URL, for instance:

```ruby
class TwitterAPI < Grape::API
namespace :statues do
namespace :statuses do
get '/(*:status)', :anchor => false do

end
Expand Down

0 comments on commit 1537606

Please sign in to comment.