Show actually used repository on about page
This commit is contained in:
parent
cbc756e404
commit
7fe0d55823
2 changed files with 3 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ class WelcomeController < ApplicationController
|
|||
end
|
||||
|
||||
def about
|
||||
|
||||
@package_sources = Rails.configuration.package_sources
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
|
|
@ -19,10 +19,8 @@
|
|||
' packages. The repositories that we are scanning frequently are:
|
||||
|
||||
ul
|
||||
// TODO: show actually used repositories
|
||||
li repo1
|
||||
li repo2
|
||||
li repo3
|
||||
- @package_sources.each do |repo|
|
||||
li #{repo[:description]} (#{repo[:url]})
|
||||
|
||||
h2 Who is using this site?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue