[OSM-dev] Where is the code that checks if the user is logged in before serving the request?

Kai Krueger kakrueger at gmail.com
Fri Nov 18 14:20:09 GMT 2011


If you look at e.g. app/controllers/changeset_controller.rb you will find
lines like "before_filter :authorize_web, :only => [:list]" and
"before_filter :authorize, :only => [:create, :update, :delete, :upload,
:include, :close]". The code to those functions are in
app/controller/application_controller.rb

--
View this message in context: http://gis.638310.n2.nabble.com/Where-is-the-code-that-checks-if-the-user-is-logged-in-before-serving-the-request-tp7007686p7008405.html
Sent from the Developer Discussion mailing list archive at Nabble.com.



More information about the dev mailing list