Preliminary defer buttons

This commit is contained in:
epall 2008-06-16 22:37:44 -07:00 committed by Eric Allen
parent 1d64ca0f34
commit 539fda21dc
4 changed files with 25 additions and 2 deletions

View file

@ -280,4 +280,8 @@ module TodosHelper
image_tag("blank.png", :title =>"Star action", :class => class_str)
end
def defer_link(days)
link_to_remote "+#{days}", :url => {:controller => 'todos', :action => 'defer', :id => @todo.id, :days => days, :_source_view => @source_view.underscore.gsub(/\s+/,'_')}
end
end