Class: Answers::HomeController

Inherits:
ApplicationController show all
Defined in:
app/controllers/answers/home_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#after_sign_in_path_for, #redirect_to_back

Instance Method Details

#aboutObject



12
13
14
# File 'app/controllers/answers/home_controller.rb', line 12

def about
  add_breadcrumb "About"
end

#indexObject



6
7
8
9
10
# File 'app/controllers/answers/home_controller.rb', line 6

def index
  render locals: { 
    tags_with_questions: Question.tags_with_questions
  }
end