Class: PagesController

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

Instance Method Summary collapse

Methods inherited from ApplicationController

#authenticate_user!, #current_user, #load_settings

Instance Method Details

#indexObject


2
3
4
# File 'app/controllers/pages_controller.rb', line 2

def index
  # render the blog?
end

#showObject


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

def show
  @page = Page.find_by_slug(params[:slug])
end