fix error
This commit is contained in:
parent
90ebe67bad
commit
9e87f40e1c
|
@ -94,6 +94,6 @@
|
|||
<%=
|
||||
content_tag :div, class: "bottomnav clearfix" do
|
||||
content_tag(:div, paginate(@event_news), class: "pagination pagination-centered") +
|
||||
content_tag(:div, link_to(t(:new_),new_event_news_path, :class=>"btn btn-primary"), class: "pull-right")
|
||||
content_tag(:div, link_to(t(:new_),new_admin_event_news_path, :class=>"btn btn-primary"), class: "pull-right")
|
||||
end
|
||||
%>
|
||||
|
|
|
@ -5,5 +5,5 @@ scheduler = Rufus::Scheduler.new
|
|||
#return if defined?(Rails::Console) || Rails.env.test? || File.split($0).last == 'rake'
|
||||
|
||||
scheduler.cron '43 2 * * *' do
|
||||
system('bundle exec rake bulletin:remove_preview_bulletins')
|
||||
system('bundle exec rake event_news:remove_preview_event_news')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue