Sha256: cfc216ae7107d276c7aedef59243c0feb2cf38e68e2a5b5d957deca8251573ee

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

class PizzasController < ApplicationController
  before_filter :oauth_authorized

  def index
    render json: {action: :index}
  end

  def show
    render json: {action: :show}
  end

  def create
    render json: {action: :create}
  end

  def update 
    render json: {action: :update}
  end

  def destroy
    render json: {action: :destroy}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oauth2_provider_engine-0.0.2 test/dummy/app/controllers/pizzas_controller.rb
oauth2_provider_engine-0.0.1 test/dummy/app/controllers/pizzas_controller.rb