Class: HomeController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
8
9
# File 'app/controllers/home_controller.rb', line 4

def index
  respond_to do |format|
    format.html
    format.json { render json: home_json }
  end
end