projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use model attributes and attribute help for the registration fields
[rails.git]
/
app
/
controllers
/
changesets_controller.rb
diff --git
a/app/controllers/changesets_controller.rb
b/app/controllers/changesets_controller.rb
index 5b6d3e010db0e5ea89d290eb71e28856a70af3bb..7796dfeb27fe04d9e2875f451a73a13e25711c78 100644
(file)
--- a/
app/controllers/changesets_controller.rb
+++ b/
app/controllers/changesets_controller.rb
@@
-6,7
+6,7
@@
class ChangesetsController < ApplicationController
before_action :authorize_web
before_action :set_locale
- before_action -> { check_database_readable(true) }, :only => [:index, :feed]
+ before_action -> { check_database_readable(
:need_api =>
true) }, :only => [:index, :feed]
authorize_resource