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:
16
app/controllers/about_controller.rb
Normal file
16
app/controllers/about_controller.rb
Normal 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
|
||||
@@ -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