module SemiStatic::Controller::News

Public Class Methods

included(klass) click to toggle source
# File lib/semi_static/controller/news.rb, line 2
def self.included(klass)
  klass.send :include, SemiStatic::Controller::Page
end

Public Instance Methods

index() click to toggle source
Calls superclass method
# File lib/semi_static/controller/news.rb, line 6
def index
  super
  respond_to do |f|
    f.html 
    f.atom { render :layout => false }
  end
end