@@ -43,6 +43,10 class IssuesController < ApplicationController | |||
|
43 | 43 | helper :timelog |
|
44 | 44 | include Redmine::Export::PDF |
|
45 | 45 | |
|
46 | verify :method => :post, | |
|
47 | :only => :destroy, | |
|
48 | :render => { :nothing => true, :status => :method_not_allowed } | |
|
49 | ||
|
46 | 50 | def index |
|
47 | 51 | retrieve_query |
|
48 | 52 | sort_init 'id', 'desc' |
@@ -14,7 +14,7 | |||
|
14 | 14 | <td><%= link_to h(version.name), :controller => 'versions', :action => 'show', :id => version %></td> |
|
15 | 15 | <td align="center"><%= format_date(version.effective_date) %></td> |
|
16 | 16 | <td><%=h version.description %></td> |
|
17 | <td><%= link_to(version.wiki_page_title, :controller => 'wiki', :page => Wiki.titleize(version.wiki_page_title)) unless version.wiki_page_title.blank? || @project.wiki.nil? %></td> | |
|
17 | <td><%= link_to(h(version.wiki_page_title), :controller => 'wiki', :page => Wiki.titleize(version.wiki_page_title)) unless version.wiki_page_title.blank? || @project.wiki.nil? %></td> | |
|
18 | 18 | <td align="center"><%= link_to_if_authorized l(:button_edit), { :controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %></td> |
|
19 | 19 | <td align="center"><%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %></td> |
|
20 | 20 | </tr> |
General Comments 0
You need to be logged in to leave comments.
Login now