lib/generators/ecm/youtube/backend/install/templates/initializer.rb in ecm_youtube_backend-1.0.1 vs lib/generators/ecm/youtube/backend/install/templates/initializer.rb in ecm_youtube_backend-1.0.2

- old
+ new

@@ -1,22 +1,25 @@ Ecm::Youtube::Backend.configure do |config| # Set the resources, that will be shown in the backend menu. - # + # # Default: config.registered_controllers = -> {[ # Ecm::Youtube::Backend::CategoriesController, # Ecm::Youtube::Backend::VideosController # ]} - # - config.registered_controllers = -> {[ - Ecm::Youtube::Backend::CategoriesController, - Ecm::Youtube::Backend::VideosController - ]} + # + config.registered_controllers = lambda { + [ + Ecm::Youtube::Backend::CategoriesController, + Ecm::Youtube::Backend::VideosController + ] + } - # Set the services, that will be shown in the backend menu. # # Default: config.registered_services = -> {[ # ]} - # - config.registered_services = -> {[ - ]} -end \ No newline at end of file + # + config.registered_services = lambda { + [ + ] + } +end