Show More
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?...
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?
- add max score query
References:
File last commit:
Show/Diff file:
Action:
config/initializers/session_store.rb
| 8 lines
| 426 B
| text/x-ruby
| RubyLexer
|
|
r318 | # Be sure to restart your server when you modify this file. | ||
#CafeGrader::Application.config.session_store :cookie_store, key: '_cafe_grader_web_session' | ||||
# Use the database for sessions instead of the cookie-based default, | ||||
# which shouldn't be used to store highly confidential information | ||||
# (create the session table with "rails generate session_migration") | ||||
CafeGrader::Application.config.session_store :active_record_store | ||||