Sha256: e0ce09f052124417c7cf444fe1144f4580f807b393351580e290231cc0ee68d3
Contents?: true
Size: 401 Bytes
Versions: 32
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true module Decidim module System class DashboardController < Decidim::System::ApplicationController before_action :check_organizations_presence def show @organizations = Organization.all end def check_organizations_presence return if Organization.exists? redirect_to new_organization_path end end end end
Version data entries
32 entries across 32 versions & 1 rubygems