diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-22 17:47:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-22 17:47:11 +0000 |
commit | bda78a4679bc947dfd42ab92adfc043afd1d2f60 (patch) | |
tree | 39ad1356f3024f2dd9ee3a8710e8d9bd46334efc /config | |
parent | b56f77322ac2f6a900ba011e767446e17401cf6f (diff) | |
download | redmine-bda78a4679bc947dfd42ab92adfc043afd1d2f60.tar.gz redmine-bda78a4679bc947dfd42ab92adfc043afd1d2f60.zip |
Adds "New wiki page" link to create a new wiki page (#5536).
git-svn-id: http://svn.redmine.org/redmine/trunk@15346 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/de.yml | 1 | ||||
-rw-r--r-- | config/locales/en.yml | 1 | ||||
-rw-r--r-- | config/locales/fr.yml | 1 | ||||
-rw-r--r-- | config/routes.rb | 3 |
4 files changed, 5 insertions, 1 deletions
diff --git a/config/locales/de.yml b/config/locales/de.yml index ced177ecf..cbfd7f97c 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -810,6 +810,7 @@ de: label_wiki_edit_plural: Wiki-Bearbeitungen label_wiki_page: Wiki-Seite label_wiki_page_plural: Wiki-Seiten + label_wiki_page_new: Neue Wiki-Seite label_workflow: Workflow label_x_closed_issues_abbr: zero: 0 geschlossen diff --git a/config/locales/en.yml b/config/locales/en.yml index c19885191..98b3e351a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -764,6 +764,7 @@ en: label_wiki_edit_plural: Wiki edits label_wiki_page: Wiki page label_wiki_page_plural: Wiki pages + label_wiki_page_new: New wiki page label_index_by_title: Index by title label_index_by_date: Index by date label_current_version: Current version diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 1bb7bd48f..2d0f5114f 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -776,6 +776,7 @@ fr: label_wiki_edit_plural: RĂ©visions wiki label_wiki_page: Page wiki label_wiki_page_plural: Pages wiki + label_wiki_page_new: Nouvelle page wiki label_index_by_title: Index par titre label_index_by_date: Index par date label_current_version: Version actuelle diff --git a/config/routes.rb b/config/routes.rb index e80895207..06b500120 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -156,7 +156,7 @@ Rails.application.routes.draw do end match 'wiki/index', :controller => 'wiki', :action => 'index', :via => :get - resources :wiki, :except => [:index, :new, :create], :as => 'wiki_page' do + resources :wiki, :except => [:index, :create], :as => 'wiki_page' do member do get 'rename' post 'rename' @@ -169,6 +169,7 @@ Rails.application.routes.draw do collection do get 'export' get 'date_index' + post 'new' end end match 'wiki', :controller => 'wiki', :action => 'show', :via => :get |