|
|
@@ -56,6 +56,10 @@ def gen_new |
|
|
|
apps = ScraperWiki.select("* from `applications` order by date_received desc limit 30") |
|
|
|
write_page('new', 'new', { apps: apps }) |
|
|
|
end |
|
|
|
|
|
|
|
def gen_decisions |
|
|
|
apps = ScraperWiki.select("* from `applications` order by date_decision desc limit 30") |
|
|
|
write_page('decisions', 'decisions', { apps: apps }) |
|
|
|
end |
|
|
|
|
|
|
|
def gen_authorities |
|
|
@@ -89,4 +93,5 @@ puts @working_dir |
|
|
|
create_output_dir |
|
|
|
gen_homepage |
|
|
|
gen_new |
|
|
|
gen_decisions |
|
|
|
gen_authorities |