diff options
| author | hukl <contact@smyck.org> | 2010-05-09 11:34:10 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2010-05-09 11:34:10 +0200 |
| commit | 65c067621048a8e8ec72d2c47d17d5dafb2dcf84 (patch) | |
| tree | bbe28ce119a4a2e5555ec9c4be4a01b6f42ea43f /app/controllers | |
| parent | f169cd4b7b4f2c6d39efb917ef88065d72c48d9d (diff) | |
added index action for tags, primarily removing the associated exception
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/tags_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index aef6e83..fe3380d 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb | |||
| @@ -3,6 +3,9 @@ class TagsController < ApplicationController | |||
| 3 | # Public | 3 | # Public |
| 4 | 4 | ||
| 5 | def index | 5 | def index |
| 6 | @page = Page.new :title => "Tags" | ||
| 7 | |||
| 8 | @tags = Tag.all(:limit => 500) | ||
| 6 | end | 9 | end |
| 7 | 10 | ||
| 8 | def show | 11 | def show |
