ntq_tools 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ntq_tools/translations_controller.rb +1 -1
- data/lib/ntq_tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a659efedee45f286353f74dfd011457c90e4b3eaf8c32c4d0cb383cce2ccc7d
|
4
|
+
data.tar.gz: 821a0eac4a4087c84d8ba19fed374e6c3b0356293b0b13d603cc81da4b6fc55d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b6ef7eccb919303e48b2c8585bc58aeeeec748cf911fbb0658d399dd9d37ced2bcdbe081c7ca8d91e47a3b7d751c1b419e6771ab26aaf2d975e3b38dd81f48c
|
7
|
+
data.tar.gz: f4f9ea8b791b601ee3e324228a1e2129f0cc823aa810e4918fdb9f2eab434ebe6b2f65cb863be187792a55b55fc98c505d0b3b358f8609d8a46bc6b70e2342f8
|
@@ -2,7 +2,7 @@ require 'ntq_tools/translations/translation_tool'
|
|
2
2
|
module NtqTools
|
3
3
|
class TranslationsController < NtqTools::ApplicationController
|
4
4
|
skip_before_action :verify_authenticity_token
|
5
|
-
before_action :check_presence_of_key
|
5
|
+
before_action :check_presence_of_key, except: [:refresh]
|
6
6
|
|
7
7
|
def show
|
8
8
|
return render json: { data: nil }, status: 404 unless I18n.exists?(params[:key].to_s)
|
data/lib/ntq_tools/version.rb
CHANGED