aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xactionpack/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/README b/actionpack/README
index 10992280ea..2c59f9df8f 100755
--- a/actionpack/README
+++ b/actionpack/README
@@ -187,7 +187,7 @@ A short rundown of the major features:
# view
<%= link_to "Previous page", { :page => @pages.current.previous } if @pages.current.previous %>
- <%= link_to "Next page", { :page => @pages.current.next } of @pages.current.next =%>
+ <%= link_to "Next page", { :page => @pages.current.next } if @pages.current.next %>
{Learn more}[link:classes/ActionController/Pagination.html]
@@ -468,4 +468,4 @@ And as Jim from Rake says:
new feature to be submitted in the form of new unit tests.
For other information, feel free to ask on the ruby-talk mailing list (which
-is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com. \ No newline at end of file
+is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com.