Helabs/pah — pull request #45 by thiagogabriel (2013-06-23 16:00:15+00:00)
Title: Fix app controller

`with: :exception` is misplaced. It is generating this controller:

```
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery
ensure_security_headers # See more: https://github.com/twitter/secureheaders
with: :exception
end
```

It was supposed to generate this:
```
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
ensure_security_headers # See more: https://github.com/twitter/secureheaders
end
```