mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Move translation viewing to admin namespace
This commit is contained in:
@@ -3,7 +3,11 @@ Rails.application.routes.draw do
|
||||
resources :problems, only: [:index, :show] do
|
||||
resources :translations, only: [:new, :create]
|
||||
end
|
||||
resources :translations, only: [:index, :show]
|
||||
|
||||
namespace :admin do
|
||||
get '', to: 'dashboard#index', as: '/'
|
||||
resources :translations, only: [:index, :show]
|
||||
end
|
||||
|
||||
mathjax 'mathjax'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user