#26

Solved

Patch to fix syntax warnings on the generated controller files

Reported by ozone on Ajax Scaffold · 30/05/2006 13:29:18

Assigned to:
rrwhite
Priority:
Normal
Status:
Solved
Category:
None
Version:
3.1.2

This patch fixes cosmetic problems on the generated controllers. It replaces the following syntax:
render :action => ‘create.rjs’ if request.xhr?
by:
render(:action => ‘create.rhs’) if request.xhr?

The original syntax generates warnings (warning: parenthesize argument(s) for future version) which are a slight annoyance when running the functional tests.

Attachments Upload


Loading comments...