New Version
Sync with Latest Instiki Trunk. Migrate to Rails 1.2.5. Bump version number.
This commit is contained in:
parent
de125367b0
commit
207fb1f7f2
120 changed files with 2592 additions and 662 deletions
|
@ -24,7 +24,7 @@ module ActionController
|
|||
define_method("set_#{object}_#{attribute}") do
|
||||
@item = object.to_s.camelize.constantize.find(params[:id])
|
||||
@item.update_attribute(attribute, params[:value])
|
||||
render :text => @item.send(attribute)
|
||||
render :text => @item.send(attribute).to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue