Merge pull request #8307 from cirosantilli/project-api-comment-typo

Typo in project API events comment
This commit is contained in:
Jeroen van Baarsen 2015-01-18 19:05:02 +01:00
commit ec29ce4b02

View file

@ -96,7 +96,7 @@ module API
# Parameters:
# id (required) - The ID of a project
# Example Request:
# GET /projects/:id
# GET /projects/:id/events
get ":id/events" do
limit = (params[:per_page] || 20).to_i
offset = (params[:page] || 0).to_i * limit