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
Line 
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
5    attr_reader :svn, :tar, :xar, :mtree
6        attr_reader :repo_url, :repo_root, :repo_portpkgs, :repo_portpkgs_url
7
8        def initialize
9                @svn = "/opt/local/bin/svn"
10                @xar = "/opt/local/bin/xar"
11                @tar = "/usr/bin/tar"
12                @mtree = "/usr/sbin/mtree"
13               
14                @repo_url = "file:///Users/jberry/Projects/macports/users/jberry/mpwa/testrepo/repo"
15                @repo_root = "/Users/jberry/Projects/macports/users/jberry/mpwa/testrepo/root"
16                @repo_portpkgs = "#{@repo_root}/portpkgs"
17                @repo_portpkgs_url = "#{@repo_url}/portpkgs"
18        end
19       
20end
Note: See TracBrowser for help on using the repository browser.