<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,96 +1 @@
-require File.dirname(__FILE__) + '/../../../config/environment'
 puts IO.read(File.join(File.dirname(__FILE__), 'README'))
-puts &quot;\n\nAltering ApplicationController, this can be undone by editing that file...&quot;
-#install alter the app controller
-app_controller = File.readlines(RAILS_ROOT + '/app/controllers/application.rb')
-i = 0
-new_app_controller = ''
-app_controller.each do |line|
- if line.include?  'class ApplicationController' then
-	 i = i + 1
-	 app_controller[i] = &quot;\s\sinclude ExceptionLoggable #Automatically Added by install script\n&quot; + app_controller[i]
- end
- i = i + 1
- new_app_controller &lt;&lt; line
-end
-app_controller_target = File.open(RAILS_ROOT + '/app/controllers/application.rb','w')
-app_controller_target.write(new_app_controller)
-app_controller_target.close
-#app controller alter done
-puts &quot;.....Completed.\n&quot;
-puts &quot;Altering routes.rb, this can be undone by editing that file...&quot;
-#modify the routes
-routes = File.readlines(RAILS_ROOT + '/config/routes.rb')
-i = 0
-new_routes = ''
-routes.each do |line|
-	if line.include? 'ActionController::Routing::Routes.draw' then
-		i = i + 1
-		routes[i] = &quot;map.connect \&quot;logged_exceptions/:action/:id\&quot;, :controller =&gt; \&quot;logged_exceptions\&quot; #Automatically Added by install script\n&quot; + routes[i]
-	end
-	i = i + 1
-	new_routes &lt;&lt; line
-end
-routes_target = File.open(RAILS_ROOT + '/config/routes.rb','w')
-routes_target.write(new_routes)
-routes_target.close
-#altered routes file
-puts &quot;.....Completed.\n&quot;
-puts &quot;Attempting to determine your pagination plugin...&quot;
-@pagination = 'none'
-Dir.foreach(RAILS_ROOT + '/vendor/plugins') do |file|
-	if file.strip == 'will_paginate' then
-		@pagination = 'will_paginate'
-	elsif file.strip == 'paginating_find' then
-		@pagination = 'paginating_find'
-	end
-end
-puts @pagination
-if @pagination == 'will_paginate' then
-	puts &quot;You are using will_paginate, editing init.rb to reflect that...&quot;
-		#set it to will_paginate
-		init_rb = File.readlines(File.join(File.dirname(__FILE__), 'init.rb'))
-		i = 0
-		new_init = ''
-		init_rb.each do |line|
-			if line.include? &quot;$PAGINATION_TYPE = 'none'&quot;
-				line = '#' + line
-			  j = i + 1
-				init_rb[j] = init_rb[j].gsub('#','')
-				j = j + 1
-				init_rb[j] = init_rb[j].gsub('#','')
-				j = j + 1
-				init_rb[j] = init_rb[j].gsub('#','')
-			end
-			i = i + 1
-			new_init &lt;&lt; line
-		end
-		target = File.open(File.join(File.dirname(__FILE__), 'init.rb'),'w')
-		target.write(new_init)
-		target.close
-elsif @pagination == 'paginating_find' then
-	puts &quot;You are using paginating_find, editing init.rb to reflect that...&quot;
-		#set it to paginating_find
-		init_rb = File.readlines(File.join(File.dirname(__FILE__), 'init.rb'))
-		i = 0
-		new_init = ''
-		init_rb.each do |line|
-			if line.include? &quot;$PAGINATION_TYPE = 'none'&quot;
-				line = '#' + line
-			  j = i + 4
-				init_rb[j] = init_rb[j].gsub('#','')
-				j = j + 1
-				init_rb[j] = init_rb[j].gsub('#','')
-			end
-			i = i + 1
-			new_init &lt;&lt; line
-		end
-		target = File.open(File.join(File.dirname(__FILE__), 'init.rb'),'w')
-		target.write(new_init)
-		target.close
-else
-	puts &quot;Could not detect a pagination plugin, using home brewed pagination instead...&quot;
-end
-#generate migration
-puts &quot;...Completed\n&quot;
-puts &quot;Now use script/generate exception_migration\n Then run rake db:migrate\n\n&quot;</diff>
      <filename>install.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,7 @@
 &lt;div id=&quot;exceptions&quot;&gt;
 &lt;div class=&quot;pages&quot;&gt;
   &lt;%= link_to_remote 'Delete Visible', :url =&gt; { :action =&gt; 'destroy_all' }, :with =&gt; &quot;ExceptionLogger.deleteAll()&quot; %&gt;
-&lt;% if @exceptions.total_pages &gt; 1 %&gt;
-:: Pages: &lt;strong&gt;&lt;%= pagination_remote_links @exceptions %&gt;&lt;/strong&gt;
-&lt;% end %&gt;
+&lt;%= pagination_remote_links @exceptions %&gt;
 &lt;/div&gt;
 
 &lt;h1&gt;Exceptions &lt;%= &quot;&lt;span&gt;(filtered)&lt;/span&gt;&quot; if filtered? %&gt; &lt;/h1&gt;
@@ -48,11 +46,10 @@ if Date.today == exc.created_at.to_date
 
 &lt;/table&gt;
 
-&lt;% if @exceptions.total_pages &gt; 1 %&gt;
 &lt;div class=&quot;pages pages-bottom&quot;&gt;
-Pages: &lt;strong&gt;&lt;%= pagination_remote_links @exceptions %&gt;&lt;/strong&gt;
+&lt;%= pagination_remote_links @exceptions %&gt;
 &lt;/div&gt;
-&lt;% end %&gt;
+
 
 
 &lt;/div&gt; &lt;!-- #exceptions --&gt;</diff>
      <filename>views/logged_exceptions/_exceptions.rhtml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ad12a2b3e39847c3e543f6a98cc22b504c8a3671</id>
    </parent>
  </parents>
  <author>
    <name>Jason Knight</name>
    <email>jason@jolierouge.net</email>
  </author>
  <url>http://github.com/defunkt/exception_logger/commit/a65c036f338a8089c5414b845e04c1124b4ac520</url>
  <id>a65c036f338a8089c5414b845e04c1124b4ac520</id>
  <committed-date>2008-05-15T10:17:11-07:00</committed-date>
  <authored-date>2008-05-15T10:17:11-07:00</authored-date>
  <message>Fixed view error</message>
  <tree>710fd12e0bc6d2110d013f4100d849986fb7fec0</tree>
  <committer>
    <name>Jason Knight</name>
    <email>jason@jolierouge.net</email>
  </committer>
</commit>
