diaspora

https://github.com/diaspora/diaspora

Ruby

A privacy-aware, distributed, open source social network.

UsersHelper#current_color_theme

Returns the path of the current color theme so that it
can be loaded in app/views/layouts/application.html.haml
and app/views/layouts/application.mobile.haml. If the user
is not signed in or has not specified a color theme, the
default (original) color theme is loaded.

Source | Google | Stack overflow

Edit

git clone [email protected]:diaspora/diaspora.git

cd diaspora

open app/helpers/users_helper.rb

Contribute

# Make a new branch

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


# Commit to git

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


# 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-current_color_theme-for-pr

hub pull-request


# Celebrate!