Add editable flag to paper
switch edit/show based on `editable` instead of `submitted`
remove dead new paper controller
fix bug with editing freshly created paper
persist editable state
removed unused route
extend authorization API for more generic checks across controllers
Authorize toggling the editable flag on server-side
move user to appropriate route based on editable flag
make it look less sucky
Fix qunits
Merge branch 'master' into paper_edit_switch
Don't remove the route yet. Feature specs use it to run integration tests.
Cover case when editable isn’t sent with the params
intermittent failure fix
fix broken spec
remove unneeded stub
Ensure tasks follow paper’s editable state, not submission state
Don’t redirect when task is open
fix error when visualEditor doesn’t exist