##// END OF EJS Templates
test: replace "should_route" of "activities" to "assert_routing" at integration/routing_test.rb...
test: replace "should_route" of "activities" to "assert_routing" at integration/routing_test.rb shoulda 2.11.3 does not support Rails2 legacy route on Rails 3.0.11. <pre> Error: test: wikis (plural, admin setup) should route POST /projects/ladida/wiki/destroy to/from {:action=>"destroy", :id=>"ladida", :controller=>"wikis"}. (RoutingTest): NameError: uninitialized constant Routing </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8201 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3482:0f999ef0e09e
r8081:0b4aed008c96
Show More
update.rjs
10 lines | 401 B | text/plain | TextLexer
if @journal.frozen?
# journal was destroyed
page.remove "change-#{@journal.id}"
else
page.replace "journal-#{@journal.id}-notes", render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))
page.show "journal-#{@journal.id}-notes"
page.remove "journal-#{@journal.id}-form"
end
call_hook(:view_journals_update_rjs_bottom, { :page => page, :journal => @journal })