make default widget works without init
This commit is contained in:
1 parent
1856d2395d
commit
a70110f787
7 files changed
+115
-1
No files matched your search
+2
-1
@@ -241,7 +241,8 @@ Orbit::Application.routes.draw do
|
||||
match 'show_sitemap' => 'front#show_sitemap', :as => :front_show_sitemap
|
||||
end
|
||||
|
||||
|
||||
match '/panel/orbit_app/widget/:type' => 'default_widget#default_widget'
|
||||
|
||||
match '/panel/:app_name/front_end/:app_action/:id(/:controller_action)' => 'pages#show_from_link', :constraints => lambda { |request|
|
||||
!request.query_string.include?("inner=true")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user