Remove wrong route
parent
a2d1b1a15f
commit
5ad02c8610
@ -1,7 +1,7 @@
|
||||
class CommentsController < ApplicationController
|
||||
class Api::CommentsController < ApplicationController
|
||||
respond_to :json
|
||||
|
||||
before_filter :ensure_authenticated!, :only => [:create, :update, :destroy]
|
||||
before_filter :ensure_authenticated!, :only => [:create, :destroy]
|
||||
before_filter :load_asciicast, :only => [:index, :create]
|
||||
|
||||
def index
|
@ -1,6 +1,6 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe CommentsController do
|
||||
describe Api::CommentsController do
|
||||
|
||||
let(:user) { Factory(:user) }
|
||||
let(:asciicast) { mock_model(Asciicast) }
|
Loading…
Reference in New Issue