Time dependant product categories for users

This commit is contained in:
2015-01-22 17:49:32 +01:00
parent f434b53161
commit 36525849bd
24 changed files with 9981 additions and 46 deletions
+3 -3
View File
@@ -94,9 +94,9 @@ module ApplicationHelper
current_user.try(:active_list_id)
end
def week_days
@week_days ||= %w[sunday monday tuesday wednesday thursday friday saturday].freeze # Do not allow changing this value
end
#def week_days
#@week_days ||= %w[sunday monday tuesday wednesday thursday friday saturday].freeze # Do not allow changing this value
#end
def current_supplier
#@current_supplier ||= ActiveDecorator::Decorator.instance.decorate(super)