summaryrefslogtreecommitdiffstats
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-24 18:41:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-24 18:41:35 +0000
commit67c4936908e6bc9ac613b41d3ae00b48a4801daf (patch)
treeeaa907b56b3a3abc20ec980b12d74f3b5d9bd5a2 /app/helpers/projects_helper.rb
parentb63123ac1e52f04a1c41fc195671a7b94744e25f (diff)
downloadredmine-67c4936908e6bc9ac613b41d3ae00b48a4801daf.tar.gz
redmine-67c4936908e6bc9ac613b41d3ae00b48a4801daf.zip
Restores commits reverted when rails-4.1 branch was merged (#18174).
Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@13504 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index e23ebab99..8e23ccdda 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -18,11 +18,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
module ProjectsHelper
- def link_to_version(version, options = {})
- return '' unless version && version.is_a?(Version)
- link_to_if version.visible?, format_version_name(version), version_path(version), options
- end
-
def project_settings_tabs
tabs = [{:name => 'info', :action => :edit_project, :partial => 'projects/edit', :label => :label_information_plural},
{:name => 'modules', :action => :select_project_modules, :partial => 'projects/settings/modules', :label => :label_module_plural},