mirror of
https://github.com/czhu12/canine.git
synced 2025-12-30 15:49:54 -06:00
10 lines
165 B
Ruby
10 lines
165 B
Ruby
class AddOns::BaseController < ApplicationController
|
|
before_action :set_add_on
|
|
|
|
private
|
|
|
|
def set_add_on
|
|
@add_on = AddOn.find(params[:add_on_id])
|
|
end
|
|
end
|