Sha256: 47fa402ad8b87691b25004454a590a57e4468a76d78b5400c63963a60b99cccf
Contents?: true
Size: 291 Bytes
Versions: 7
Compression:
Stored size: 291 Bytes
Contents
require_dependency "binda/application_controller" module Binda class ChoicesController < ApplicationController before_action :set_choice def destroy @choice.destroy head :ok end private def set_choice @choice = Choice.find( params[:id] ) end end end
Version data entries
7 entries across 7 versions & 1 rubygems