phcdevworks_tutorials 1.2.3 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcdevworks_tutorials/tutorial/steps_controller.rb +1 -1
- data/app/models/phcdevworks_tutorials/tutorial/post.rb +2 -2
- data/app/models/phcdevworks_tutorials/tutorial/step.rb +2 -0
- data/app/views/layouts/phcdevworks_tutorials/application.html.erb +62 -77
- data/app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb +7 -7
- data/app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb +37 -37
- data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb +257 -239
- data/app/views/phcdevworks_tutorials/tutorial/categories/_form.html.erb +16 -14
- data/app/views/phcdevworks_tutorials/tutorial/categories/edit.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/categories/index.html.erb +63 -52
- data/app/views/phcdevworks_tutorials/tutorial/categories/new.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/posts/_form.html.erb +46 -46
- data/app/views/phcdevworks_tutorials/tutorial/posts/edit.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/posts/index.html.erb +68 -56
- data/app/views/phcdevworks_tutorials/tutorial/posts/new.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/steps/_form.html.erb +32 -27
- data/app/views/phcdevworks_tutorials/tutorial/steps/edit.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/steps/index.html.erb +65 -50
- data/app/views/phcdevworks_tutorials/tutorial/steps/new.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/steps/show.html.erb +0 -14
- data/config/routes.rb +26 -17
- data/db/migrate/20190911225813_create_phcdevworks_tutorials_tutorial_posts.rb +5 -0
- data/db/migrate/20190923113101_create_phcdevworks_tutorials_tutorial_steps.rb +5 -1
- data/lib/phcdevworks_tutorials/engine.rb +6 -8
- data/lib/phcdevworks_tutorials/version.rb +1 -1
- metadata +28 -14
- data/app/assets/stylesheets/scaffolds.scss +0 -65
- data/app/views/layouts/phcdevworks_tutorials/frontend.html.erb +0 -5
- data/config/initializers/friendly_id.rb +0 -107
- data/db/migrate/20190929044403_add_info_to_phcdevworks_tutorials_tutorial_posts.rb +0 -9
- data/db/migrate/20190929044505_add_info_to_phcdevworks_tutorials_tutorial_steps.rb +0 -7
- data/db/migrate/20191002093451_add_image_to_phcdevworks_tutorials_tutorial_posts.rb +0 -8
@@ -1,9 +0,0 @@
|
|
1
|
-
class AddInfoToPhcdevworksTutorialsTutorialPosts < ActiveRecord::Migration[6.0]
|
2
|
-
def change
|
3
|
-
|
4
|
-
add_column :phcdevworks_tutorials_tutorial_posts, :tutorial_post_images, :string
|
5
|
-
add_column :phcdevworks_tutorials_tutorial_posts, :tutorial_post_description, :text
|
6
|
-
add_column :phcdevworks_tutorials_tutorial_posts, :tutorial_post_status, :string
|
7
|
-
|
8
|
-
end
|
9
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
class AddImageToPhcdevworksTutorialsTutorialPosts < ActiveRecord::Migration[6.0]
|
2
|
-
def change
|
3
|
-
|
4
|
-
add_column :phcdevworks_tutorials_tutorial_steps, :tutorial_step_image, :string
|
5
|
-
add_column :phcdevworks_tutorials_tutorial_posts, :tutorial_post_image, :string
|
6
|
-
|
7
|
-
end
|
8
|
-
end
|