Files
baclight/app/controllers/id_card/plans_controller.rb
T
2026-03-13 08:47:13 -04:00

35 lines
389 B
Ruby

module IdCard
class PlansController < ApplicationController
# View Methods
def new
end
def create
end
def edit
end
def update
end
def destroy
end
# API Methods
def get_plan_benefits
@plan_benefits = IdCard::Plan.find(params[:id]).plan_benefits
render json: @plan_benefits.as_json
end
private
end
end