Changeset 38
- Timestamp:
- 02/13/06 22:41:40 (7 years ago)
- Location:
- branches/adapt/app/controllers
- Files:
-
- 2 modified
-
application.rb (modified) (1 diff)
-
repository_controller.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/adapt/app/controllers/application.rb
r37 r38 38 38 def verify_repo 39 39 if @session['repo'].nil? or @session['repo'].blank? 40 redirect_to :controller => 'repository', :action => 'select_repo' 40 redirect_to :controller => 'repository', :action => 'select_repo' and return false 41 41 else 42 42 set_repo -
branches/adapt/app/controllers/repository_controller.rb
r17 r38 14 14 begin 15 15 set_repo 16 redirect_to :controller => 'nav_class', :action => 'list' 16 redirect_to :controller => 'nav_class', :action => 'list' and return 17 17 rescue => ex 18 18 flash['notice'] = 'Invalid username/password/repository combination.'
