Class: PagesController

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

Overview

Handles relativly static pages

Instance Method Summary collapse

Methods inherited from ApplicationController

#honeypot

Instance Method Details

#homeObject


7
8
9
# File 'app/controllers/pages_controller.rb', line 7

def home
  @stations = @all_stations
end

#productsObject


11
12
13
# File 'app/controllers/pages_controller.rb', line 11

def products
  @title = "Products"
end