address field. js and style is broken

This commit is contained in:
Matthew K. Fu JuYuan authored and chris committed 2012-11-20 09:53:36 +08:00
1 parent be448d42c9
commit a85e5fcc0d
14 files changed
+386 -311

No files matched your search

+7
View File
@@ -1,4 +1,11 @@
module OrbitBasis
module RenderAnywhere
def render_anywhere(partial,opts)
view = ActionView::Base.new(Orbit::Application.config.paths["app/views"].first)
view.extend ApplicationHelper
view.render(:partial => partial,:locals=>opts)
end
end
module BaseModel
extend ActiveSupport::Concern