Changeset fa32d0f


Ignore:
Timestamp:
05/05/26 13:56:31 (4 hours ago)
Author:
veronika-ils <ilioskaveronika@…>
Branches:
master
Parents:
92e7c7a
Message:

Added form for clinics

Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • petify-backend/src/main/java/com/petify/petify/config/SecurityConfig.java

    r92e7c7a rfa32d0f  
    111111                        .requestMatchers(HttpMethod.GET,"/api/users/admin/listings").permitAll()
    112112                        .requestMatchers(HttpMethod.GET, "/api/admin/clinic-applications").permitAll()
     113                        .requestMatchers(HttpMethod.POST, "/api/clinic-applications").permitAll()
    113114                        .requestMatchers(HttpMethod.PATCH, "/api/admin/clinic-applications/*/approve").permitAll()
    114115                        .requestMatchers(HttpMethod.PATCH, "/api/admin/clinic-applications/*/deny").permitAll()
  • petify-frontend/src/components/TopNav.vue

    r92e7c7a rfa32d0f  
    5252            </template>
    5353            <template v-else>
     54              <RouterLink class="btn btn-outline-secondary" to="/clinic-application">
     55                Apply as clinic
     56              </RouterLink>
    5457              <RouterLink class="btn btn-login" to="/login">
    5558                Log in
  • petify-frontend/src/router/index.ts

    r92e7c7a rfa32d0f  
    1010import AdminListingsView from '@/views/AdminListingsView.vue'
    1111import ClinicDashboardView from '@/views/ClinicDashboardView.vue'
     12import ClinicApplicationView from '@/views/ClinicApplicationView.vue'
    1213
    1314const router = createRouter({
     
    3839      name: 'clinic-dashboard',
    3940      component: ClinicDashboardView,
     41    },
     42    {
     43      path: '/clinic-application',
     44      name: 'clinic-application',
     45      component: ClinicApplicationView,
    4046    },
    4147    {
Note: See TracChangeset for help on using the changeset viewer.