annotate .svn/pristine/c1/c1223f031fa2bf3b78639a2a5da945e7a735cdcd.svn-base @ 1082:997f6d7738f7 bug_531

In repo controller entry action, show the page for the file even if it's binary (so user still has access to history etc links). This makes it possible to use the entry action as the default when a file is clicked on
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 22 Nov 2012 18:04:17 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1 class AddMissingIndexesToIssues < ActiveRecord::Migration
Chris@909 2 def self.up
Chris@909 3 add_index :issues, :status_id
Chris@909 4 add_index :issues, :category_id
Chris@909 5 add_index :issues, :assigned_to_id
Chris@909 6 add_index :issues, :fixed_version_id
Chris@909 7 add_index :issues, :tracker_id
Chris@909 8 add_index :issues, :priority_id
Chris@909 9 add_index :issues, :author_id
Chris@909 10 end
Chris@909 11
Chris@909 12 def self.down
Chris@909 13 remove_index :issues, :status_id
Chris@909 14 remove_index :issues, :category_id
Chris@909 15 remove_index :issues, :assigned_to_id
Chris@909 16 remove_index :issues, :fixed_version_id
Chris@909 17 remove_index :issues, :tracker_id
Chris@909 18 remove_index :issues, :priority_id
Chris@909 19 remove_index :issues, :author_id
Chris@909 20 end
Chris@909 21 end