We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af5a0d2 commit 04178b9Copy full SHA for 04178b9
2 files changed
app/controllers/points_controller.rb
@@ -47,13 +47,6 @@ def index
47
end
48
49
50
- def refresh_gdocs
51
- authorize! :refresh, @course
52
- @sheetname = params[:id]
53
- @course = Course.find(params[:course_id])
54
- @notifications = @course.refresh_gdocs_worksheet @sheetname
55
- end
56
-
57
def show
58
@sheetname = params[:id]
59
@course = Course.find(params[:course_id])
app/models/ability.rb
@@ -20,9 +20,6 @@ def initialize(user)
20
can :disable, Organization
21
22
can :rerun, Submission
23
- can :refresh_gdocs_spreadsheet, Course do |c|
24
- c.spreadsheet_key.present?
25
26
can :access, :pghero
27
can :read_vm_log, Submission
28
can :read, :instance_state
0 commit comments