Sha256: 13cebc6c8b57bbfebaf32bb3da2cab229331a440c6906ac4f57ff4d2864b193b

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

class PastasController < 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/pastas_controller.rb
oauth2_provider_engine-0.0.1 test/dummy/app/controllers/pastas_controller.rb