put setup APP var setup into Orbit class
This commit is contained in:
1 parent
4ed8a2164c
commit
959f3e8b2f
3 files changed
+6
-16
No files matched your search
Vendored
-8
@@ -1,14 +1,6 @@
|
||||
class Panel::NewBlog::FrontEnd::PostsController < ObitFrontendController
|
||||
|
||||
|
||||
def initialize
|
||||
super
|
||||
@app_title = NewBlog::MOUDLEAPP_TITLE
|
||||
end
|
||||
|
||||
# GET /posts
|
||||
# GET /posts.xml
|
||||
|
||||
def index
|
||||
@posts = Post.all
|
||||
end
|
||||
|
||||
-8
@@ -1,12 +1,4 @@
|
||||
class Panel::NewBlog::Widget::PostsController < ObitWidgetController
|
||||
|
||||
layout 'production'
|
||||
|
||||
def initialize
|
||||
super
|
||||
@app_title = NewBlog::MOUDLEAPP_TITLE
|
||||
end
|
||||
|
||||
# GET /posts
|
||||
# GET /posts.xml
|
||||
def index
|
||||
|
||||
Reference in new issue
Block a user