Sha256: b50409957ee9015827a692fc133dfb46fbd7a9a9d34c36252393e040e9089f72

Contents?: true

Size: 256 Bytes

Versions: 12

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

class PokemonMastersController < ApplicationController
  include Azeroth::Resourceable

  resource_for :pokemon_master,
               only: %i[create update],
               before_save: proc { pokemon_master.age = 10 }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
azeroth-1.0.0 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.10.1 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.10.0 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.9.0 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.8.2 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.8.1 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.8.0 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.7.4 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.7.3 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.7.2 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.7.1 spec/dummy/app/controllers/pokemon_masters_controller.rb
azeroth-0.7.0 spec/dummy/app/controllers/pokemon_masters_controller.rb