Sha256: 60f62a9758f03937636ec669a0b02db4b0c280a5d6a43c37fffb9241473ffc3e

Contents?: true

Size: 240 Bytes

Versions: 16

Compression:

Stored size: 240 Bytes

Contents

class BookController < ApplicationController

  def show
    @book = Organization.current.book
    @exams = Organization.current.accessible_exams_for current_user
  end

  private

  def authorization_minimum_role
    :ex_student
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mumuki-laboratory-9.23.0 app/controllers/book_controller.rb
mumuki-laboratory-9.22.0 app/controllers/book_controller.rb
mumuki-laboratory-9.21.0 app/controllers/book_controller.rb
mumuki-laboratory-9.20.1 app/controllers/book_controller.rb
mumuki-laboratory-9.20.0 app/controllers/book_controller.rb
mumuki-laboratory-9.19.0 app/controllers/book_controller.rb
mumuki-laboratory-9.18.1 app/controllers/book_controller.rb
mumuki-laboratory-9.18.0 app/controllers/book_controller.rb
mumuki-laboratory-9.17.0 app/controllers/book_controller.rb
mumuki-laboratory-9.16.0 app/controllers/book_controller.rb
mumuki-laboratory-9.15.0 app/controllers/book_controller.rb
mumuki-laboratory-9.14.1 app/controllers/book_controller.rb
mumuki-laboratory-9.14.0 app/controllers/book_controller.rb
mumuki-laboratory-9.13.2 app/controllers/book_controller.rb
mumuki-laboratory-9.13.1 app/controllers/book_controller.rb
mumuki-laboratory-9.13.0 app/controllers/book_controller.rb