Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # lib/store.rb
- module Custom
- module Store
- class Home
- include Presto::Api
- http.map
- def category *args
- #get_main_categories
- #get_current_category args.first
- #get_random_products 10
- @category_name = "TESTING"
- view.render
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment