File: articles_controller.rb

package info (click to toggle)
liblocale-rails-ruby 2.0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,224 kB
  • ctags: 295
  • sloc: ruby: 727; sh: 22; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
class ArticlesController < ApplicationController
  caches_action :list
  def index
  end

  def list
  end

  def expire_cache
    expire_action(:action => "list")
    render :text => "OK"
  end
end