Module: SemiStatic::Controller::News
- Included in:
- NewsController
- Defined in:
- lib/semi_static/controller/news.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
2 3 4 |
# File 'lib/semi_static/controller/news.rb', line 2 def self.included(klass) klass.send :include, SemiStatic::Controller::Page end |
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 12 |
# 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 |