Method: Ptero::Generator::PageNotFoundGenerator#initialize

Defined in:
lib/ptero/generators/pagenotfoundgenerator.rb

#initialize(parent = 'application') ⇒ PageNotFoundGenerator

Returns a new instance of PageNotFoundGenerator.

Parameters:

  • parent (String) (defaults to: 'application')

    the layout to extend



11
12
13
# File 'lib/ptero/generators/pagenotfoundgenerator.rb', line 11

def initialize(parent = 'application')
  super '404',parent
end