Remove news and fix default_url in ImageUploader
This commit is contained in:
1 parent
0d26f48c9a
commit
475642d375
163 files changed
+46
-8582
No files matched your search
@@ -4,8 +4,6 @@ module Admin::DashboardsHelper
|
||||
case title
|
||||
when 'bulletin'
|
||||
panel_announcement_front_end_bulletins_path
|
||||
when 'news_bulletin'
|
||||
panel_news_front_end_news_bulletins_path
|
||||
when'page_context'
|
||||
panel_page_content_front_end_page_contexts_path
|
||||
when'web_link'
|
||||
@@ -17,8 +15,6 @@ module Admin::DashboardsHelper
|
||||
case object.class.to_s.underscore
|
||||
when 'bulletin'
|
||||
panel_announcement_front_end_bulletin_path(object)
|
||||
when 'news_bulletin'
|
||||
panel_news_front_end_news_bulletin_path(object)
|
||||
when'page_context'
|
||||
"/#{object.page.path}"
|
||||
when'web_link'
|
||||
|
||||
Reference in new issue
Block a user