Skip to content

Commit

Permalink
prevent criteria viewing
Browse files Browse the repository at this point in the history
  • Loading branch information
DecentralizedCAN committed Oct 28, 2019
1 parent 421f7a1 commit a4d87d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<li>c = criterion</li>
</ul>
<a href="https://github.com/DecentralizedCAN/CAN/blob/master/app/assets/images/scoring-algorithm.png">View Diagram</a>
![Diagram](https://github.com/DecentralizedCAN/CAN/blob/master/app/assets/images/scoring-algorithm.png)
</div>

<h1 id="crowdacting">Actions</h1>
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/criteria_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class CriteriaController < ApplicationController
before_action :set_criterium, only: [:show, :dissent_form, :edit, :update]
before_action :require_login, except: [:show]
before_action :require_login

# GET /criteria
# GET /criteria.json
Expand Down

0 comments on commit a4d87d2

Please sign in to comment.