Adding versioning

This commit is contained in:
2013-10-09 03:34:27 -07:00
parent 5a94d69b3d
commit ebc696814e
11 changed files with 101 additions and 46 deletions

View File

@@ -2,4 +2,8 @@ class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
def info_for_paper_trail
{ :whodunnit => request.remote_ip }
end
end