diff --git a/app/models/ability.rb b/app/models/ability.rb index 608913a3..6b9d6e09 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -98,7 +98,7 @@ def process_instructor(user) end can [:create, :read], InstBook - can [:create, :read], Term + can [:read], Term can [:create, :read], LatePolicy can [:update, :destroy], InstBook, user_id: user.id can [:create, :read], Organization diff --git a/app/views/home/books.html.haml b/app/views/home/books.html.haml index 302a443d..4b2245ed 100644 --- a/app/views/home/books.html.haml +++ b/app/views/home/books.html.haml @@ -33,6 +33,10 @@ to view): %ul + %li + %a{ href: 'https://canvas.instructure.com/enroll/AA7HDH', target: "_blank" } + An objects-first CS1 course + %li %a{ href: 'https://canvas.instructure.com/enroll/TXJGTB', target: "_blank" } Data Structures topics for a CS2-level course @@ -66,6 +70,11 @@ Supplemental reading versions: %ul + %li + - url = @config_url + '/OpenDSA/Books/IntroToSoftwareDesign/index.html' + %a{ href: url , target: "_blank" } + An objects-first CS1 course + %li - url = @config_url + '/OpenDSA/Books/CS2/index.html' %a{ href: url , target: "_blank" } @@ -85,8 +94,7 @@ %li - url = @config_url + '/OpenDSA/Books/CS3notes/index.html' %a{ href: url, target: "_blank" } - Coursenotes form of presentation slides for "CS3" course on Data - Structures. + Coursenotes form of presentation slides for "CS3" course on Data Structures. %li - url = @config_url + '/OpenDSA/Books/CS4104/index.html'