Refactor: move helper methods to a formatter module

This commit is contained in:
Eric Davis
2010-10-05 14:19:49 -07:00
parent 0f9308267c
commit ed9f828efa
4 changed files with 57 additions and 51 deletions
@@ -7,6 +7,7 @@ class DeliverablesController < InheritedResources::Base
before_filter :authorize
helper :contracts
helper :contract_formatter
def index
redirect_to contract_url(@project, @contract)