class Api::V1::PartiesController < ActionController::API def index parties = Parties.all end def create end def show end def update end def destroy end end