diff --git a/app/controllers/test_controller.rb b/app/controllers/test_controller.rb index ec3e5cbdb..22cf7d1d5 100644 --- a/app/controllers/test_controller.rb +++ b/app/controllers/test_controller.rb @@ -26,7 +26,7 @@ class TestController < ApplicationController end def courselist - @courses = Project.course_entities + @courses = paginateHelper Course.includes(:homeworks).all, 10 end def ziping files_path diff --git a/app/views/layouts/bootstrap_base.html.erb b/app/views/layouts/bootstrap_base.html.erb index 040857df4..fedcf9409 100644 --- a/app/views/layouts/bootstrap_base.html.erb +++ b/app/views/layouts/bootstrap_base.html.erb @@ -20,6 +20,7 @@
<%= render_flash_messages %> <%= yield %> + <%= render :partial => 'layouts/bootstrap_base_footer' %>
@@ -29,6 +30,5 @@ - <%= render :partial => 'layouts/bootstrap_base_footer' %> diff --git a/app/views/test/courselist.html.erb b/app/views/test/courselist.html.erb index e11c16fad..195913ed2 100644 --- a/app/views/test/courselist.html.erb +++ b/app/views/test/courselist.html.erb @@ -1,14 +1,5 @@ -
- Well done! You successfully read this important alert message. -
-
- Heads up! This alert needs your attention, but it's not super important. -
-
- Warning! Best check yo self, you're not looking too good. -
- Oh snap! Change a few things up and try submitting again. + Warning! you can stop.
<% end %> @@ -52,3 +44,4 @@
<% end %> + \ No newline at end of file