Small fixes for article_categories.
This commit is contained in:
parent
0236fb5a60
commit
181695d1bd
2 changed files with 20 additions and 12 deletions
|
|
@ -12,4 +12,10 @@ class ArticleCategoriesController < ApplicationController
|
|||
update!(:notice => "Die Kategorie wurde aktualisiert") { article_categories_path }
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def collection
|
||||
@article_categories = ArticleCategory.order('name')
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue