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:
@@ -3,6 +3,7 @@ class ProblemsController < ApplicationController
|
||||
|
||||
def index
|
||||
@problems = Problem.paginate(page: params[:page]).includes(:translation)
|
||||
@translated_percentage = 100 * Problem.translated_count / Problem.count
|
||||
end
|
||||
|
||||
def show
|
||||
|
||||
Reference in New Issue
Block a user