lib/pagelet_rails/concerns/routes.rb in pagelet_rails-0.1.4 vs lib/pagelet_rails/concerns/routes.rb in pagelet_rails-0.1.5
- old
+ new
@@ -1,7 +1,11 @@
module PageletRails::Concerns::Routes
extend ActiveSupport::Concern
+ included do
+ @pagelet_routes = []
+ end
+
module ClassMethods
# Define routes inline in controller
#
# pagelet_routes do
# resources :users