Sha256: 7cc10a9eecb630acee697f8ab25941fe9f4ba817e2071229306a01ea6b79001d

Contents?: true

Size: 174 Bytes

Versions: 1

Compression:

Stored size: 174 Bytes

Contents

class BitesController < ::ApplicationController

  def update
    bite = Bite.find(params[:id])
    bite.update!(text: params[:bite][:text])
    redirect_to :back
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bites-1.0.0 app/controllers/bites_controller.rb