rescue very old site
This commit is contained in:
parent
8d0679ca93
commit
ff7a0d9394
|
@ -56,7 +56,11 @@ module Ask
|
||||||
OrbitApp.registration "Ask", :type => "ModuleApp" do
|
OrbitApp.registration "Ask", :type => "ModuleApp" do
|
||||||
module_label "ask.ask"
|
module_label "ask.ask"
|
||||||
base_url File.expand_path File.dirname(__FILE__)
|
base_url File.expand_path File.dirname(__FILE__)
|
||||||
set_keyword_contstraints ['/asks']
|
begin
|
||||||
|
set_keyword_contstraints ['/asks']
|
||||||
|
rescue => e
|
||||||
|
puts ['the site is too old']
|
||||||
|
end
|
||||||
widget_methods ["widget"]
|
widget_methods ["widget"]
|
||||||
widget_settings [{"data_count"=>10}]
|
widget_settings [{"data_count"=>10}]
|
||||||
# taggable "AskQuestion"
|
# taggable "AskQuestion"
|
||||||
|
|
Loading…
Reference in New Issue