Update registered_sites_controller.rb
This commit is contained in:
parent
19d9c8b530
commit
8ffd4a862e
|
@ -2,12 +2,10 @@ class RegisteredSitesController < ApplicationController
|
||||||
|
|
||||||
def site_count_widget
|
def site_count_widget
|
||||||
count = RegisteredSite.count
|
count = RegisteredSite.count
|
||||||
{
|
|
||||||
{
|
{
|
||||||
"extras" => {
|
"extras" => {
|
||||||
"total_sites" => count
|
"total_sites" => count
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue