inline_forms 1.5.3 → 1.5.4
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.
@@ -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
|
data/lib/inline_forms/version.rb
CHANGED