tkh_content 0.9.11 → 0.9.12

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd689ef278c0e08bc119bbaa3b4fd1062d2d0759
4
- data.tar.gz: b343283506cf28d3a44ef361bf99e80df6cf3d8f
3
+ metadata.gz: e7e2c1f257bbe3dc334d558b9ac14d3f960b74e5
4
+ data.tar.gz: 9b0901d4ff17044c6872ca01d1880069178f45a8
5
5
  SHA512:
6
- metadata.gz: db73b8caf2e79c91f905d5b560aab3ac5cc22a8e4bad07e0b60e2139c55960461231a89f813421f354a7594d6b8234972da5b041a4a81d0f01efdf4c9fb16daa
7
- data.tar.gz: 069a50532188e5cf3c9b0efa20eed6d8cd4cc98ba74011f92d98af3b4a7978bacac8a10a6c94f853333d82863565b6df90713985441c74458746e907255af7d3
6
+ metadata.gz: 88762d950ff258fa0715bca02e11b6496e33d845c1a913c237f5e0174c55fb81aacc9144099a225a2338fcbd65f9c430c35f9820662e170d7c75515dbd4adc4e
7
+ data.tar.gz: c7cb2e260521daae831c886e8036187378cc24bf56948153081c348a48b06e9048a0beafc48860b474cd88ab032db9f149a37bde65015b4f17a9ea1e5153236b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.9.12
6
+
7
+ * Debugged tag destroying
8
+
9
+
5
10
  ## 0.9.11
6
11
 
7
12
  * Admins can delete tags which have no taggings
@@ -23,6 +23,12 @@ class TagsController < ApplicationController
23
23
  end
24
24
  end
25
25
 
26
+ def destroy
27
+ @tag = Tag.find(params[:id])
28
+ @tag.destroy
29
+ redirect_to tags_url, notice: 'The tag has been removed'
30
+ end
31
+
26
32
  private
27
33
 
28
34
  # Never trust parameters from the scary internet, only allow the white list through.
@@ -1,3 +1,3 @@
1
1
  module TkhContent
2
- VERSION = "0.9.11"
2
+ VERSION = "0.9.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.11
4
+ version: 0.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma