rails_admin_slug 0.1.1 → 0.1.2

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 +3 -2
  2. data/rails_admin_slug.gemspec +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -14,7 +14,7 @@ Simply add the gem to your projects Gemfile after the rails_admin line.
14
14
 
15
15
  gem "rails_admin_slug"
16
16
 
17
- Create a rails_admin/custom/ui.js file and add the following line to the top (or just add if the file already exists):
17
+ Create an app/assets/javascripts/rails_admin/custom/ui.js file and add the following line to the top (or just add if the file already exists):
18
18
 
19
19
  //=require 'ra.slug'
20
20
 
@@ -22,6 +22,7 @@ Create a rails_admin/custom/ui.js file and add the following line to the top (or
22
22
 
23
23
  In your RailsAdmin configuration file (usually config/initializers/rails_admin.rb) override the field type for the slug field.
24
24
  The "source" configuration option defines which field the slug will be tied to and is required to be set.
25
+ (On the field line, the first :slug is your slug field, the second in the field type, overriding string in this case.)
25
26
 
26
27
  RailsAdmin.config do |config|
27
28
  config.model 'Page' do
@@ -48,5 +49,5 @@ The slug field type extends the string field type. This means it is still possib
48
49
 
49
50
  ## Credits
50
51
 
51
- The jquery plugin that creates and edit the client side slug is from Patrick McElhaney and can be found at: https://github.com/pmcelhaney/jQuery-Slugify-Plugin/blob/master/readme.md
52
+ The jquery plugin that creates and edit the client side slug is from Patrick McElhaney and can be found at: https://github.com/pmcelhaney/jQuery-Slugify-Plugin
52
53
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rails_admin_slug'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.date = '2013-04-23'
5
5
  s.summary = "RailsAdmin Slug"
6
6
  s.description = "A RailsAdmin field type to create a URL slug as you type a page title "
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_slug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: