lib/faalis/dashboard/sections/resource.rb in faalis-2.0.0.rc5 vs lib/faalis/dashboard/sections/resource.rb in faalis-2.0.0.rc6
- old
+ new
@@ -1,9 +1,13 @@
module Faalis::Dashboard::Sections
module Resource
extend ActiveSupport::Concern
+ included do |base|
+ base.before_action :setup_named_routes
+ end
+
def _resource_title
t(controller_name.humanize)
end
protected