Sha256: a58179943cf9f1e9f3497ce779f3971e7182ea607c6a0f95040639c50cdb2092
Contents?: true
Size: 461 Bytes
Versions: 6
Compression:
Stored size: 461 Bytes
Contents
- if current_user.scoped_site? && defined?(Site) && defined?(controller) && controller.sited_model? && controller.template_name == 'index' && Site.several? .site_chooser %ul.nav %li = "Current Site: #{current_site.name}" %ul.expansion - current_user.sites.each do |site| %li = link_to( site.name, "#{request.path}?site_id=#{site.id}", :class => site == current_site ? 'fg site-link' : 'site-link')
Version data entries
6 entries across 6 versions & 1 rubygems