solidus

https://github.com/solidusio/solidus

Ruby

🛒 Solidus, the open-source eCommerce framework for industry trailblazers.

Spree::Core::ControllerHelpers::Common#title=

can be used in views as well as controllers.
e.g. <% self.title = 'This is a custom title for this view' %>

Source | Google | Stack overflow

Edit

git clone [email protected]:solidusio/solidus.git

cd solidus

open core/app/helpers/spree/core/controller_helpers/common.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--Core--ControllerHelpers--Common-title--for-pr


# Commit to git

git add core/app/helpers/spree/core/controller_helpers/common.rbgit commit -m "better docs for Spree::Core::ControllerHelpers::Common#title="


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Spree--Core--ControllerHelpers--Common-title--for-pr

hub pull-request


# Celebrate!