Closed
requested to merge github/fork/smart-village-solutions/hf-fixes-generated-view-paths into master
Created by: 5minpause
Fixes #202 (closed).
Problem:
The documentation correctly states that view generated via rails g administrate:views
should live under
app/views/administrate/application/
. The generatator puts them under
app/views/admin/applications/
though.
Solution:
The methods that create the paths need to be adapted.
Nota bene:
While running the tests, the first arg for the generator is empty. When
the generator is run inside a project, the first arg is application
.
This leads to the view paths having applications
instead of
application
. This commit fixes this as well.