Refactor creating a new report to use a ReportsController
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Sep 2017 17:06:21 +0000 (18:06 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Sep 2017 17:06:21 +0000 (18:06 +0100)
commitd7612f42d04727c037deb3ef66ac421ea347d54b
tree89b91d299dc7c0fec7c78b00250920f9a075008a
parent948fd8c8faf1016deb23b73eca0dadb6267603cf
Refactor creating a new report to use a ReportsController

It's really a report that the user is creating, the issue is created indirectly. Similar
refactoring will be required for issue comments.
app/controllers/issues_controller.rb
app/controllers/reports_controller.rb [new file with mode: 0644]
app/views/diary_entry/_diary_entry.html.erb
app/views/reports/new.html.erb [moved from app/views/issues/new.html.erb with 78% similarity]
config/routes.rb