Sha256: d47bb63d8f77d57b1d84c3ef8ecb545117e1f2af8c804460b1d8c9f254aa7f45

Contents?: true

Size: 196 Bytes

Versions: 6

Compression:

Stored size: 196 Bytes

Contents

module RailsApi
  class ArticlesController < ApplicationController
    before_filter :authenticate_api_user!

    respond_to :json

    def index
      respond_with(Article.all)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
g5_authenticatable_api-0.4.1 spec/dummy/app/controllers/rails_api/articles_controller.rb
g5_authenticatable_api-0.4.0 spec/dummy/app/controllers/rails_api/articles_controller.rb
g5_authenticatable_api-0.3.2 spec/dummy/app/controllers/rails_api/articles_controller.rb
g5_authenticatable_api-0.3.1 spec/dummy/app/controllers/rails_api/articles_controller.rb
g5_authenticatable_api-0.3.0 spec/dummy/app/controllers/rails_api/articles_controller.rb
g5_authenticatable_api-0.2.0 spec/dummy/app/controllers/rails_api/articles_controller.rb