A calendar management project, for events and activities related to communities fighting for freedoms.
This can be related to software, art, data, hardware, content, commons, internet.
https://www.agendadulibre.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
agenda-libre-ruby/app/controllers/regions_controller.rb

12 lines
242 B

# Manage regions, mostly get stats out of them
class RegionsController < ApplicationController
has_scope :region
before_action :set_regions, only: [:index]
private
def set_regions
@regions = apply_scopes Region.local
end
end