Class: PagesController

Inherits:
ApplicationController show all
Defined in:
lib/generators/chapter07/begin/templates/app/controllers/pages_controller.rb,
lib/generators/chapter07/solutions/templates/app/controllers/pages_controller.rb,
lib/generators/chapter11_3/solutions/templates/app/controllers/pages_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#after_sign_in_path_for

Instance Method Details

#aboutObject



8
9
# File 'lib/generators/chapter07/begin/templates/app/controllers/pages_controller.rb', line 8

def about
end

#contactObject



5
6
# File 'lib/generators/chapter07/begin/templates/app/controllers/pages_controller.rb', line 5

def contact
end

#helpObject



14
15
16
# File 'lib/generators/chapter07/solutions/templates/app/controllers/pages_controller.rb', line 14

def help
  @title = 'Help'
end

#homeObject



2
3
# File 'lib/generators/chapter07/begin/templates/app/controllers/pages_controller.rb', line 2

def home
end