Pettanr::Application.licenses.each do |name, klass|
mount Module.const_get(klass)::Engine => "/#{name}"
end
+ Pettanr::Application.speech_balloons.each do |klass , name|
+ mount Module.const_get(klass)::Engine => "/#{name}"
+ end
resources :authors do
new do
end
end
resources :speech_balloons do
+ new do
+ get :new
+ end
collection do
get :index
get :show
+ post :create
get :list
end
member do
+ get :edit
+ put :update
+ delete :destroy
get :browse
end
end