Class: Village::ArticlesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
# File 'app/controllers/village/articles_controller.rb', line 4

def index
  render :layout => Village::Config.layout
end

#showObject



8
9
10
11
# File 'app/controllers/village/articles_controller.rb', line 8

def show
  resource
  render :layout => Village::Config.layout
end