From e93140c1083ac9dde55d27d5e0685e9b77527d51 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 20 Jul 2010 09:17:19 +0200 Subject: adding sponsors footer --- app/controllers/tags_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers') diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index fe3380d..565cdd4 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -14,6 +14,8 @@ class TagsController < ApplicationController @tag = @tag ? @tag.name : params[:id] @page = Page.new + + params[:page] = ( params[:page].is_a?(Fixnum) ? params[:page] : 1 ) @pages = Page.heads.paginate( Page.find_options_for_find_tagged_with(@tag).merge( -- cgit v1.3