inline_forms 1.5.3 → 1.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,7 +42,7 @@ class InlineFormsController < ApplicationController
42
42
 
43
43
  helper_method :cancan_disabled?, :cancan_enabled?
44
44
 
45
- load_and_authorize_resource :except => :revert if cancan_enabled?
45
+ load_and_authorize_resource :except => :revert, :no_params => true if cancan_enabled?
46
46
  # :index shows a list of all objects from class @Klass, using will_paginate,
47
47
  # including a link to 'new', that allows you to create a new record.
48
48
  def index
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "1.5.3"
3
+ VERSION = "1.5.4"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: