Files
fizzy/app/controllers/boosts_controller.rb
T
Jeffrey Hardy 038a456392 Tidy up boosts
2024-09-05 17:36:51 -04:00

19 lines
248 B
Ruby

class BoostsController < ApplicationController
before_action :set_bubble
def index
end
def new
end
def create
@bubble.boosts.create!
end
private
def set_bubble
@bubble = Bubble.find(params[:bubble_id])
end
end