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