titler 0.4.2
Titler is a ruby gem that make titling your Rails app pages dead simple but still allows you flexibility and control. Set specific page titles in the controller or view with fallbacks for all situations. You can add environment and namespace prefixes (e.g. "Admin | <Title of page>") automatically.
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Development 依赖 (13):
bundler
~> 1.14
coveralls
>= 0
guard
>= 0
guard-rspec
>= 0
pry
>= 0
pry-nav
>= 0
pry-remote
>= 0
rails
~> 5.0.3
rake
~> 10.0
rb-readline
>= 0
rspec
~> 3.0
rspec-nc
>= 0
rspec-rails
>= 0