• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uclibs / ucrate / a110a0f5-33c4-46a0-8585-21167cf5a307

21 May 2024 08:08PM UTC coverage: 58.257% (-1.1%) from 59.369%
a110a0f5-33c4-46a0-8585-21167cf5a307

push

circleci

web-flow
Updates embargo scripts. (#1164)

* Updates embargo scripts.

* Use ENVIRONMENT variable in embargo scripts.

---------

Co-authored-by: Thomas Scherz <scherztc@ucmail.uc.edu>

2219 of 3809 relevant lines covered (58.26%)

61.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/app/controllers/static_controller.rb
1
# frozen_string_literal: true
2

3
class StaticController < ApplicationController
1✔
4
  def about
1✔
5
    render "static/about"
1✔
6
  end
7

8
  def terms
1✔
9
    render "hyrax/static/terms"
×
10
  end
11

12
  def coll_policy
1✔
13
    render "static/coll_policy"
×
14
  end
15

16
  def format_advice
1✔
17
    render "static/format_advice"
×
18
  end
19

20
  def faq
1✔
21
    render "static/faq"
×
22
  end
23

24
  def documenting_data
1✔
25
    render "static/documenting_data_help"
×
26
  end
27

28
  def creators_rights
1✔
29
    render "static/creators_rights"
×
30
  end
31

32
  def student_work_help
1✔
33
    render "static/student_work_help"
×
34
  end
35

36
  def advisor_guidelines
1✔
37
    render "static/advisor_guidelines"
×
38
  end
39

40
  def student_instructions
1✔
41
    render "static/student_instructions"
×
42
  end
43

44
  def help
1✔
45
    render "static/help"
×
46
  end
47

48
  def doi_help
1✔
49
    render "static/doi_help"
×
50
  end
51

52
  def login
1✔
53
    if current_user
3✔
54
      redirect_to Hyrax::Engine.routes.url_helpers.dashboard_path
×
55
    elsif AUTH_CONFIG['shibboleth_enabled']
3✔
56
      render "static/login"
2✔
57
    else
58
      redirect_to new_user_session_path
1✔
59
    end
60
  end
61

62
  def whats_new
1✔
63
    render "static/whats_new"
×
64
  end
65

66
  def orcid_about
1✔
67
    render "static/orcid_about"
×
68
  end
69
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc