Sha256: 80b1a87478eb96f32bd100aaad457574214e662e056f6f6e43a94ed86f71c9f1

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

module Answers
	class HomeController < Answers::ApplicationController
	 # caches_page :index
	  add_breadcrumb "Home", :root_url

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

	 def about
	   add_breadcrumb "About"
	 end

	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
answers-core-0.0.0.2 app/controllers/answers/home_controller.rb
answers-core-0.0.0 app/controllers/answers/home_controller.rb