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
|
||||
count = RegisteredSite.count
|
||||
{
|
||||
{
|
||||
"extras" => {
|
||||
"total_sites" => count
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue