mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-26 18:18:51 +01:00
Add about pages
This commit is contained in:
@@ -3,4 +3,8 @@
|
||||
de:
|
||||
application:
|
||||
sign_in: 'Einloggen'
|
||||
sign_out: 'Ausloggen'
|
||||
sign_out: 'Ausloggen'
|
||||
info: "Info"
|
||||
legal: "Impressum"
|
||||
copyright: "Copyright-Informationen"
|
||||
bootstrap_html: 'Entworfen mit <a href="http://getbootstrap.com/">Bootstrap</a>'
|
||||
@@ -5,6 +5,7 @@ de:
|
||||
not_yet_translated: Dieses Problem wurde noch nicht übersetzt.
|
||||
index:
|
||||
suggest_translation: Übersetzung vorschlagen
|
||||
translated_count: "Übersetzte Probleme: %{translated} von %{total}"
|
||||
show:
|
||||
improve_translation: Übersetzung verbessern
|
||||
problem_subtitle: Problem %{id}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
Rails.application.routes.draw do
|
||||
get 'about/index'
|
||||
get 'about/info'
|
||||
get 'about/copyright'
|
||||
get 'about/legal'
|
||||
get 'about/roman_numerals'
|
||||
|
||||
devise_for :admins, skip: :registrations
|
||||
resources :problems, only: [:index, :show] do
|
||||
resources :translations, only: [:new, :create]
|
||||
@@ -16,7 +22,7 @@ Rails.application.routes.draw do
|
||||
# See how all your routes lay out with "rake routes".
|
||||
|
||||
# You can have the root of your site routed with "root"
|
||||
root 'problems#index'
|
||||
root 'about#index'
|
||||
|
||||
# Example of regular route:
|
||||
# get 'products/:id' => 'catalog#view'
|
||||
|
||||
Reference in New Issue
Block a user