address field. js and style is broken

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-11-12 10:41:41 +08:00
1 parent dafe28ffb5
commit 39612b879c
14 files changed
+383 -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