Fix Api::CommentsController#index

openid
Marcin Kulik 12 years ago
parent 87128c0873
commit 127f68a778

@ -5,7 +5,7 @@ class Api::CommentsController < ApplicationController
before_filter :load_asciicast, :only => [:index, :create] before_filter :load_asciicast, :only => [:index, :create]
def index def index
respond_with CommentDecorator.decorate(@asciicast.comments) respond_with CommentDecorator.decorate_collection(@asciicast.comments)
end end
def create def create

Loading…
Cancel
Save