Displaying 1 result from an estimated 1 matches for "policy_nam".
Did you mean:
policy_name
2010 Mar 02
1
Redirect issue
...too it works
fine in firefox but doesnt redirect in IE.
Could anyone please suggest on this issue.
Code:
def delete_company
#------------
if params[:id] and params[:id1]
@policy = PolicySetting.find_by_id(params[:id])
@policyinfo = PolicySetting.find_by_id(params[:id1])
@policy_name = @policy.policy_name
if !(@policyinfo.nil?)
@policy_count = PolicySetting.find(:all, :conditions =>
{:policy_name => @policy_name, :policy_type =>
''C''})
if @policy_count.length > 1
if params[:id].to_i...