mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-11-23 19:33:46 +01:00
Add about pages
This commit is contained in:
1 parent
703975adf5
commit
f5d0e721a1
22 files changed
+364
-24
No files matched your search
@@ -0,0 +1,16 @@
|
||||
class AboutController < ApplicationController
|
||||
def index
|
||||
end
|
||||
|
||||
def info
|
||||
end
|
||||
|
||||
def copyright
|
||||
end
|
||||
|
||||
def legal
|
||||
end
|
||||
|
||||
def roman_numerals
|
||||
end
|
||||
end
|
||||
@@ -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