Fix bugs after merge
This commit is contained in:
		
							parent
							
								
									f2a6739fa8
								
							
						
					
					
						commit
						194773f064
					
				
							
								
								
									
										3
									
								
								Gemfile
								
								
								
								
							
							
						
						
									
										3
									
								
								Gemfile
								
								
								
								
							|  | @ -12,7 +12,6 @@ gem 'exception_notification' # Send error trace | |||
| gem 'execjs' | ||||
| gem 'jquery-rails' | ||||
| gem 'jquery-ui-rails' | ||||
| gem "pry", "~> 0.9.10" | ||||
| gem 'kaminari', :git => 'git://github.com/amatsuda/kaminari.git' | ||||
| 
 | ||||
| # gem "memcached", "~> 1.4.3" | ||||
|  | @ -27,7 +26,7 @@ gem 'nokogiri' | |||
| gem 'radius' | ||||
| gem 'rake' | ||||
| # gem 'remotipart' | ||||
| gem 'resque' # background jobs | ||||
| gem 'resque', :require => 'resque/server' # background jobs | ||||
| gem 'resque-scheduler' # job scheduling | ||||
| gem 'resque-restriction' | ||||
| #gem 'rb-readline' | ||||
|  |  | |||
|  | @ -10,4 +10,5 @@ | |||
|  *= require desktopmain | ||||
|  *= require desktopmedia | ||||
|  *= require orbitTimeline | ||||
|  *= require orbit-bar | ||||
| */ | ||||
|  | @ -107,12 +107,12 @@ | |||
| <% end -%> | ||||
| 
 | ||||
| <%= content_tag :li, :class => active_for_controllers('cals','calendar_categories') || active_for_app_auth("calendar") do -%> | ||||
| 	<%= link_to content_tag(:i, nil, :class => 'icons-calendar') + t('admin.calendar'), panel_calendar_back_end_cals_path %> | ||||
| 	<%#= link_to content_tag(:i, nil, :class => 'icons-calendar') + t('admin.calendar'), panel_calendar_back_end_cals_path %> | ||||
| 	<%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('cals','calendar_categories') ) do -%> | ||||
| 		<%#= content_tag :li, link_to(t('admin.ad.all_banners'), admin_ad_banners_path), :class => active_for_action('ad_banners', 'index') %> | ||||
| 		<%#= content_tag :li, link_to(t('admin.ad.new_banner'), new_admin_ad_banner_path), :class => active_for_action('ad_banners', 'new') %> | ||||
| 		<%#= content_tag :li, link_to(t('admin.ad.new_image'), new_ad_image_admin_ad_banners_path), :class => active_for_action('ad_images', 'new') %> | ||||
| 	<%= content_tag :li, link_to(t('calendar.calendars'), panel_calendar_back_end_calendar_categories_path), :class => active_for_action('calendar_categories','index') %> | ||||
| 	<%#= content_tag :li, link_to(t('calendar.calendars'), panel_calendar_back_end_calendar_categories_path), :class => active_for_action('calendar_categories','index') %> | ||||
| 	<%#= content_tag :li, link_to(t('gallery.tags'), panel_gallery_back_end_tags_path), :class => active_for_action('/panel/gallery/back_end/tags', 'index') %> | ||||
| 	<%#= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {key: "gallery"}))), :class => active_for_app_auth('gallery')  if (is_admin? rescue nil) %> | ||||
| 	<% end -%> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue