source: users/jberry/mpwa/app/controllers/application.rb @ 23696

Last change on this file since 23696 was 23696, checked in by jberry@…, 13 years ago

A bit of cleanup to once again sync up the mpwa submit with the design doc.

File size: 728 bytes
RevLine 
[23493]1# Filters added to this controller will be run for all controllers in the application.
2# Likewise, all the methods added will be available for all controllers.
3class ApplicationController < ActionController::Base
4
[23696]5    attr_reader :svn, :tar, :xar, :mtree
6        attr_reader :repo_url, :repo_root, :repo_portpkgs, :repo_portpkgs_url
[23493]7
8        def initialize
9                @svn = "/opt/local/bin/svn"
[23696]10                @xar = "/opt/local/bin/xar"
[23526]11                @tar = "/usr/bin/tar"
12                @mtree = "/usr/sbin/mtree"
13               
14                @repo_url = "file:///Users/jberry/Projects/macports/users/jberry/mpwa/testrepo/repo"
[23513]15                @repo_root = "/Users/jberry/Projects/macports/users/jberry/mpwa/testrepo/root"
[23696]16                @repo_portpkgs = "#{@repo_root}/portpkgs"
17                @repo_portpkgs_url = "#{@repo_url}/portpkgs"
[23493]18        end
19       
20end
Note: See TracBrowser for help on using the repository browser.