faalis 0.21.0 → 0.21.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: e7d77be09881beddd4d13f35ae2ad54576a8ecaf
4
- data.tar.gz: 95fac973732a6d0be6cd34a359e71b1d58592201
3
+ metadata.gz: 14da634aef8853abbd8af125b967c93b01c6e193
4
+ data.tar.gz: dd943a9315c2d293c90dc709bbd50fd4225a1b11
5
5
  SHA512:
6
- metadata.gz: da3e1dbe6d99f4954ca6a7774bb97159b95ffc7feab3c849ce5526f62b1df1404ec0e9896b05670253a5f97cd0b5009b591d4fcc058d3ea5d524425321a2989c
7
- data.tar.gz: f75f7d92eac57912f2c4a917ef6bbc67876097c04248c2814cd0e1d3015d1ddcc7261b673bb4f4e743ddb1211e602e96e27fda534a9be52c65e06f7f4a064105
6
+ metadata.gz: 9956fb8de054298606c4e51bd4cb259d140cf75203b3eb85c6f663789f447ad4109fae8745b5c978b4b14c4fd61fcb8d03b230d6622524448d4f821445eba028
7
+ data.tar.gz: 8fec4fb4f4858e8ff667c1b42a13833cc34a5b8eee6a60c41d158b491a5f5020a418311e7c5ed225b723d7e578857961afc183214d060ccfc8effc360d749344
@@ -32,6 +32,11 @@ class Faalis::APIController < Faalis::ApplicationController
32
32
  # Authenticate user before any action take place
33
33
  before_filter :authenticate
34
34
 
35
+ # Check for any presence of filtering query, In querystring and load
36
+ # resource using them
37
+ before_filter :load_resource_by_query, :only => [:index]
38
+
39
+
35
40
  protect_from_forgery
36
41
 
37
42
  # Set csrf cookie after any action
@@ -18,5 +18,5 @@
18
18
  # -----------------------------------------------------------------------------
19
19
 
20
20
  module Faalis
21
- VERSION = "0.21.0"
21
+ VERSION = "0.21.1"
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faalis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sameer Rahmani