Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on a phone number in a phone book redirects to user's home page #299

Open
spag opened this issue Jul 3, 2013 · 3 comments
Open
Assignees
Milestone

Comments

@spag
Copy link
Contributor

spag commented Jul 3, 2013

URL which triggered the bugreport is: /phone_books/2/phone_book_entries/1
GS5 buildname: 1303251159 (5.1.3-master)

Clicking on a phone number in a phone book redirects to the user's own home page instead of originating a call. Doing so as "admin" seems to work.

"production.log" remains empty.

Probably an issue with "abilities" ?

@ghost ghost assigned wintermeyer Jul 3, 2013
@wintermeyer
Copy link
Member

Please provide the exact location (line number and filename) in the view file where this link - which is clicked - is.

@spag
Copy link
Contributor Author

spag commented Jul 24, 2013

Link as displayed in the browser's status bar: http://192.168.0.150/phone_book_entries/1/phone_numbers/1105/call

filename: app/views/phone_book_entries/show.xml.haml
line: 90

= link_to phone_number, call_phone_book_entry_phone_number_path(@phone_book_entry, phone_number), :method => :put, :title => t('phone_numbers.show.actions.call')

@spag
Copy link
Contributor Author

spag commented Aug 13, 2013

Could it be an issue within abilities.rb ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants