root/app/controllers/main_controller.rb

Revision 8, 365 bytes (checked in by falcon, 17 years ago)

Tweaks and upgrades, routes/paginate/etc

Line 
1class MainController < ApplicationController
2#before_filter :login_required
3layout "main"
4                           
5  def index
6       
7        respond_to do |format|
8          format.html  # index.html.erb
9        end
10  end
11 
12  def contact
13
14        respond_to do |format|
15          format.html  # contact.html.erb
16        end 
17  end
18 
19  def bio
20 
21        respond_to do |format|
22          format.html  # bio.html.erb
23        end 
24  end
25 
26  end
Note: See TracBrowser for help on using the browser.