1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

Add about pages

This commit is contained in:
2017-11-24 14:26:48 +01:00
parent 703975adf5
commit f5d0e721a1
22 changed files with 364 additions and 24 deletions

View File

@@ -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'