phcdevworks_tutorials 2.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -27
  3. data/app/assets/config/phcdevworks_tutorials_manifest.js +1 -1
  4. data/app/assets/stylesheets/phcdevworks_tutorials/category/posts.css +4 -0
  5. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.css +4 -0
  6. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.css +4 -0
  7. data/app/controllers/phcdevworks_tutorials/tutorial/categories_controller.rb +2 -3
  8. data/app/controllers/phcdevworks_tutorials/tutorial/posts_controller.rb +5 -6
  9. data/app/controllers/phcdevworks_tutorials/tutorial/steps_controller.rb +6 -12
  10. data/app/models/phcdevworks_tutorials/category.rb +7 -0
  11. data/app/models/phcdevworks_tutorials/tutorial/category.rb +3 -3
  12. data/app/models/phcdevworks_tutorials/tutorial/post.rb +8 -8
  13. data/app/models/phcdevworks_tutorials/tutorial/step.rb +1 -1
  14. data/app/views/layouts/phcdevworks_tutorials/application.html.erb +62 -77
  15. data/app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb +7 -7
  16. data/app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb +37 -37
  17. data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb +257 -239
  18. data/app/views/layouts/phcdevworks_tutorials/frontend.html.erb +0 -5
  19. data/app/views/phcdevworks_tutorials/tutorial/categories/_form.html.erb +16 -14
  20. data/app/views/phcdevworks_tutorials/tutorial/categories/edit.html.erb +31 -23
  21. data/app/views/phcdevworks_tutorials/tutorial/categories/index.html.erb +63 -52
  22. data/app/views/phcdevworks_tutorials/tutorial/categories/new.html.erb +31 -23
  23. data/app/views/phcdevworks_tutorials/tutorial/categories/show.html.erb +1 -1
  24. data/app/views/phcdevworks_tutorials/tutorial/posts/_form.html.erb +46 -46
  25. data/app/views/phcdevworks_tutorials/tutorial/posts/edit.html.erb +31 -23
  26. data/app/views/phcdevworks_tutorials/tutorial/posts/index.html.erb +68 -56
  27. data/app/views/phcdevworks_tutorials/tutorial/posts/new.html.erb +31 -23
  28. data/app/views/phcdevworks_tutorials/tutorial/steps/_form.html.erb +36 -48
  29. data/app/views/phcdevworks_tutorials/tutorial/steps/edit.html.erb +31 -23
  30. data/app/views/phcdevworks_tutorials/tutorial/steps/index.html.erb +57 -52
  31. data/app/views/phcdevworks_tutorials/tutorial/steps/new.html.erb +31 -23
  32. data/config/routes.rb +3 -3
  33. data/db/migrate/{20190911225813_create_phcdevworks_tutorials_tutorial_posts.rb → 20191017235259_create_phcdevworks_tutorials_tutorial_posts.rb} +4 -6
  34. data/db/migrate/{20190923113101_create_phcdevworks_tutorials_tutorial_steps.rb → 20191017235421_create_phcdevworks_tutorials_tutorial_steps.rb} +4 -6
  35. data/db/migrate/{20190911225925_create_phcdevworks_tutorials_tutorial_categories.rb → 20191018124910_create_phcdevworks_tutorials_tutorial_categories.rb} +1 -1
  36. data/db/migrate/20191024232406_create_phcdevworks_tutorials_categories_posts.rb +8 -0
  37. data/lib/phcdevworks_tutorials/engine.rb +6 -8
  38. data/lib/phcdevworks_tutorials/version.rb +1 -1
  39. metadata +36 -18
  40. data/app/assets/javascripts/phcdevworks_tutorials/tutorial/posts.coffee +0 -3
  41. data/app/assets/javascripts/phcdevworks_tutorials/tutorial/steps.coffee +0 -3
  42. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.scss +0 -3
  43. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.scss +0 -3
  44. data/app/assets/stylesheets/scaffolds.scss +0 -65
  45. data/config/initializers/friendly_id.rb +0 -107
  46. data/db/migrate/20191003235303_create_join_table_categories_posts.rb +0 -10
@@ -1,10 +0,0 @@
1
- class CreateJoinTableCategoriesPosts < ActiveRecord::Migration[6.0]
2
- def change
3
- create_join_table :categories, :posts do |t|
4
-
5
- # t.index [:category_id, :post_id]
6
- # t.index [:post_id, :category_id]
7
-
8
- end
9
- end
10
- end