lib/nitro/ui/pager.rb in nitro-0.15.0 vs lib/nitro/ui/pager.rb in nitro-0.16.0
- old
+ new
@@ -1,12 +1,12 @@
# * George Moschovitis <gm@navel.gr>
# (c) 2004-2005 Navel, all rights reserved.
-# $Id: pager.rb 266 2005-02-28 14:50:48Z gmosx $
+# $Id: pager.rb 1 2005-04-11 11:04:30Z gmosx $
require 'nitro/uri'
-module N; module UI
+module Nitro; module UI
# Displays a collection of entitities in multiple pages.
#
# === Design
#
@@ -196,10 +196,10 @@
# Generate the target URI.
#
def target_uri(page)
params = {"__pg#{@name}" => page}
- return N::UriUtils.update_query_string(@request.uri.to_s, params)
+ return UriUtils.update_query_string(@request.uri.to_s, params)
end
end
end; end