Sha256: 4e60a36a87165103d9aa4f65b2527991f91faf5622674ba0d52f37a46ec4e8a8
Contents?: true
Size: 271 Bytes
Versions: 4
Compression:
Stored size: 271 Bytes
Contents
class DogController < ApplicationController before_actions do all { @dog = action_name } only(:one) { @dog = "before one" } only(:one, :two) { @dog = "before one and two" } end def one end def two end def three end end
Version data entries
4 entries across 4 versions & 1 rubygems