Limiting number of pages in links using will_paginate

Hi all… I am new to this group. I have a problem in my current
project… I
am very new to rubyonrails… Still under learning… I am using the
following gems

gem ‘will_paginate’, ‘~> 3.0.6’

gem ‘will_paginate-bootstrap’

inner_window and outer_window properties doesnot showing me any changes
my page… I have tried like,

my views,

<%= will_paginate @issue, page_links: true,
inner_window: 2, outer_window: 1 %>

my controller,

@issue = Issue.all.paginate(page:
per_page: 5).order(“issue_slip_no DESC”)

How should I correct it? Thanks in advance.