meta_titles 0.0.1 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.md +12 -0
  2. data/lib/meta_titles/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -13,21 +13,33 @@ Add this line to your application's Gemfile:
13
13
  1. Edit your controller to include this gem functionality:
14
14
 
15
15
  class Admin::ApplicationController < ApplicationController
16
+
16
17
  build_meta_titles
18
+
17
19
  ...
18
20
 
19
21
  2. Edit file config/locales/meta_titles.yml with your meta titles:
20
22
 
21
23
  ru:
24
+
22
25
  meta_titles:
26
+
23
27
  admin:
28
+
24
29
  pages:
30
+
25
31
  index: Страницы
32
+
26
33
  show: Просмотр страницы
34
+
27
35
  new: Создание страницы
36
+
28
37
  create: Создание страницы
38
+
29
39
  edit: Редактирование страницы
40
+
30
41
  update: Редактирование страницы
42
+
31
43
  ...
32
44
 
33
45
  3. Prepare your layout view to print @meta_title variable.
@@ -1,3 +1,3 @@
1
1
  module MetaTitles
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_titles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: