osem

https://github.com/opensuse/osem

Ruby

Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.

UsersHelper#show_roles

Receives a hash, generated from User model, function get_roles
Outputs the roles of a user, including the conferences for which the user has the roles
Eg. organizer(oSC13, oSC14), cfp(oSC12, oSC13)

Source | Google | Stack overflow

Edit

git clone [email protected]:opensuse/osem.git

cd osem

open app/helpers/users_helper.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-UsersHelper-show_roles-for-pr


# Commit to git

git add app/helpers/users_helper.rbgit commit -m "better docs for UsersHelper#show_roles"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-UsersHelper-show_roles-for-pr

hub pull-request


# Celebrate!