Revert "move courses mixed To projecthelper From applicantionHelper"

This reverts commit 42332201f2.
This commit is contained in:
yanxd 2013-11-15 16:10:09 +08:00
parent 42332201f2
commit dd1f972edd
2 changed files with 2 additions and 3 deletions

View File

@ -28,6 +28,8 @@ module ApplicationHelper
include AvatarHelper
## added by william
include PraiseTreadHelper
# add by nyan
include CoursesHelper
extend Forwardable
def_delegators :wiki_helper, :wikitoolbar_for, :heads_for_wiki_formatter

View File

@ -19,9 +19,6 @@
include AvatarHelper
module ProjectsHelper
# add by nyan
include CoursesHelper
def link_to_version(version, options = {})
return '' unless version && version.is_a?(Version)
link_to_if version.visible?, format_version_name(version), { :controller => 'versions', :action => 'show', :id => version }, options