Skip to content

Commit

Permalink
params not prams
Browse files Browse the repository at this point in the history
  • Loading branch information
lenary committed Jan 10, 2010
1 parent 286369c commit 64064e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qadmin/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def row_control_links(more_links={})

def admin_table(collection, options = {})
config = self.qadmin_configuration.on_index
controller = prams[:controller] || options[:controller] || config.controller_name
controller = params[:controller] || options[:controller] || config.controller_name
attributes = options[:attributes] || config.columns

row_control_sets = {
Expand Down

0 comments on commit 64064e0

Please sign in to comment.