Add about pages

This commit is contained in:
pfischbeck committed 2017-11-24 14:26:48 +01:00
1 parent 703975adf5
commit f5d0e721a1
22 files changed
+364 -24

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
class AboutController < ApplicationController
def index
end
def info
end
def copyright
end
def legal
end
def roman_numerals
end
end
+1
View File
@@ -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