mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Show code of conduct on organizations
This commit is contained in:
parent
a6daff8582
commit
217ec1a46f
5 changed files with 30 additions and 7 deletions
|
|
@ -5,6 +5,12 @@ class OrganizationsController < ApplicationController
|
|||
@organizations = Organization.all
|
||||
end
|
||||
|
||||
def code_of_conduct
|
||||
@title = "#{@organization.name}: Code of Conduct"
|
||||
@content = @organization.code_of_conduct
|
||||
render 'document'
|
||||
end
|
||||
|
||||
def conferences
|
||||
@current = @organization.conferences.upcoming.reorder(start_date: :asc)
|
||||
@antiquated = @organization.conferences.past
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue