Changes into page_part edition.

Can choose between 'text', 'public_r_tag' and 'widget'
This commit is contained in:
Christophe Vilayphiou committed 2012-02-16 13:09:09 +08:00
1 parent 7ea1745f73
commit e0accbecaa
25 files changed
+119 -179

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"
require 'sprockets/railtie'
# If you have a Gemfile, require the default gems, the ones in the
# current environment and also include :assets gems if in development
+8
View File
@@ -6,3 +6,11 @@ forbidden_item_names:
markups:
- text_field
- select
public_r_tags:
- ad_banner
page_part_kinds:
- text
- public_r_tag
- module_widget
+5 -1
View File
@@ -66,7 +66,11 @@ PrototypeR4::Application.routes.draw do
get 'reload_frontend_pages'
end
end
resources :page_parts
resources :page_parts do
member do
get 'reload_widgets'
end
end
resources :purchases do
collection do
get 'install_app'