mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 20:44:08 +00:00
Move categories to top-level namespace (#894)
This commit is contained in:
7
app/helpers/categories_helper.rb
Normal file
7
app/helpers/categories_helper.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module CategoriesHelper
|
||||
def null_category
|
||||
Category.new \
|
||||
name: "Uncategorized",
|
||||
color: Category::UNCATEGORIZED_COLOR
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user