forked from fixin.me/fixin.me
Change namespace for defaults controllers
To allow proper path prefix for view partials when using config.action_view.prefix_partial_path_with_controller_namespace
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class Units::DefaultsController < ApplicationController
|
||||
class Default::UnitsController < ApplicationController
|
||||
navigation_tab :units
|
||||
|
||||
before_action except: :index do
|
||||
@@ -6,5 +6,6 @@ class Units::DefaultsController < ApplicationController
|
||||
end
|
||||
|
||||
def index
|
||||
@units = current_user.units.defaults_diff
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user