Sha256: 6071b9048e9039daacaeb5715b46f96f46cb168426c5b5578e504133be312b27
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 Bytes
Contents
#require 'imperavi-rails' Activa::Engine.routes.draw do #mount ImperaviRails::Engine => "/imperavi-rails" resources :pages do post 'slug', :on => :collection put 'position', :on => :collection end root :to => 'pages#index' end # Application-level routes Rails.application.routes.draw do get '*id', :controller => 'activa/pages', :action => :show, :as => :activa_page end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activa-0.0.14 | config/routes.rb |
activa-0.0.13 | config/routes.rb |