Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix deprecation for Rails 2.3.11

  • Loading branch information...
commit 582966302f04b1af63cbecee949c0358f43ea76b 1 parent c0bdd78
Andrew vonderLuft avonderluft authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/reorder/page_helper.rb
2  lib/reorder/page_helper.rb
... ... @@ -1,6 +1,6 @@
1 1 module Reorder::PageHelper
2 2 def order_links(page)
3   - returning String.new do |output|
  3 + String.new.tap do |output|
4 4 %w{move_to_top move_higher move_lower move_to_bottom}.each do |action|
5 5 output << link_to(image("#{action}.png", :alt => action.humanize),
6 6 self.send("page_#{action}_url", :id => page),

0 comments on commit 5829663

Please sign in to comment.
Something went wrong with that request. Please try again.