Files
baclight/app/controllers/id_card/provider_sections_controller.rb
T

40 lines
641 B
Ruby
Raw Normal View History

2026-03-13 08:47:13 -04:00
module IdCard
class ProviderSectionsController < ApplicationController
# View Methods
def index
end
def show
end
def new
end
def create
end
def edit
end
def update
end
def destroy
end
# API Methods
def get_section_data
@provider_section = IdCard::ProviderSection.find(params[:id])
render json: @provider_section.as_json
end
private
def logo_params
params.require(:id_card_network_logo).permit(:logo_file)
end
end
end