Sha256: 5a2fea6bb3a203e7470bee2dcb3d67e8467d802310cffcb355bafb72d10bfa1b

Contents?: true

Size: 300 Bytes

Versions: 5

Compression:

Stored size: 300 Bytes

Contents

for_action <%= parsed_controller_name %>Controller, :<%= action_name %> do
  
  before do
    # This will be called before <%= parsed_controller_name %>#<%= parsed_action_name %>
  end
  
  after do
    # This will be called after <%= parsed_controller_name %>#<%= parsed_action_name %>
  end
  
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
enhanced_hooks-0.5 lib/generators/enhanced_hooks/templates/event.rb
event_machine-0.4.1 lib/generators/event_machine/templates/event.rb
event_machine-0.4.0 lib/generators/event_machine/templates/event.rb
event_machine-0.3.1 generators/event_machine/templates/event.rb
event_machine-0.3.0 generators/event_machine/templates/event.rb