Displaying 1 result from an estimated 1 matches for "reorder_alpha".
2006 Apr 08
0
Typo and Instant Rails 1.2
...es, do appear in the
actual blog.
When the *Sort Alphabetically* is clicked under categories an error
occurrred. I changed the code as follows:
C:\InstantRails-1.2\rails_apps\typo1000\app\controllers\admin\categories_controller.rb
<typo:code lang="ruby">
def asort
Category.reorder_alpha
#render_component :action => "category_container" - Removed and
added two lines below - Ed Gard
@categories = Category.find(:all, :order => :position)
render :partial => "categories"
end
</typo:code>
Other that that, Typo appears to run on IR 1.2 WITH...