<% @year ||= Date.today.year %>
<% @month ||= Date.today.month %>
<% end %>
<%@calendarLocal = Redmine::Helpers::Calendar.new(Date.civil(@year, @month, 1), current_language, :week) %>
<%=render :partial => 'common/calendar', :locals => {:calendar => @calendarLocal} %>
No comments:
Post a Comment