documentation-editor 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ed6f8ee85ae24985b7dedbdf30380a31dc5d392
4
- data.tar.gz: 23cd83513142d1b48956035e24dd06f03db98dbd
3
+ metadata.gz: 990c7c2d2ea814fd86bd5de7f4833a041b467aa8
4
+ data.tar.gz: c67a90af01e55d73503649179ab8a8f4405f5343
5
5
  SHA512:
6
- metadata.gz: fe11497eca3cf438f8bec4e74bd74711d48d42e55e258c1b4fdb059bf68906729d174bc6c6e3df92582723c8c4e8a451208a6c41e7a49135c29e43f7cfef3947
7
- data.tar.gz: 6b21de6dc04da6a8d3bce79e4d358356098f6b1b3ceec628d82241acf6c95fb1aa3fb8e4fba4c8b7c2b5a2603721e634f0e1c7b3f5dd642e0d874ee301b7fc53
6
+ metadata.gz: 5cbf5a91178bea8c9be935b95ad9811eea64846796cba50dc31f2d228178663922578c11925107c09122e71610754ad0e752cdffee68b927ece268ae7a964cd7
7
+ data.tar.gz: 5b45cb04f53a6c2d4da8f7fd89d81a84033cee855c1d43697d02cc698da54ee0b404b983685ac14a21a8c2e65607e1c714eb59643704e6173114101f93e9ff5f
@@ -50,7 +50,7 @@ module DocumentationEditor
50
50
  end
51
51
 
52
52
  def show
53
- @page = Page.find_by(slug: params[:slug])
53
+ @page = Page.find_by!(slug: params[:slug])
54
54
  @revision = @page.published_revision
55
55
  @options = params
56
56
  render :preview
@@ -1,3 +1,3 @@
1
1
  module DocumentationEditor
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: documentation-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia Team