Module: ExtendGoldencobraArticlesController

Defined in:
lib/generators/goldencobra/templates/extend_goldencobra_articles_controller.rb

Instance Method Summary collapse

Instance Method Details

#after_indexObject



11
12
13
14
# File 'lib/generators/goldencobra/templates/extend_goldencobra_articles_controller.rb', line 11

def after_index
  #@list_of_articles accessible
  #::Rails.logger.info("********************************** - AFTER-INDEX")
end

#after_initObject



7
8
9
# File 'lib/generators/goldencobra/templates/extend_goldencobra_articles_controller.rb', line 7

def after_init
  #::Rails.logger.info("********************************** - AFTER-INIT")
end

#before_initObject



3
4
5
# File 'lib/generators/goldencobra/templates/extend_goldencobra_articles_controller.rb', line 3

def before_init
  #::Rails.logger.info("********************************** - BEFORE-INIT")
end

#before_renderObject



16
17
18
# File 'lib/generators/goldencobra/templates/extend_goldencobra_articles_controller.rb', line 16

def before_render
  #::Rails.logger.info("********************************** - BEFORE-RENDER")
end