Top "Controller" questions

A controller is responsible for executing a sequence of instructions in response to some stimulus (maybe a command, action, or event).

Call a model method in a Controller

I'm have some difficulties here, I am unable to successfully call a method which belongs to a ProjectPage model in …

ruby-on-rails methods model controller instantiation
codeigniter check for user session in every controller

I have this private session in one of my controllers that checks if a user is logged in: function _is_…

php codeigniter methods controller
AngularJS directives attributes access from the controller

I am trying to access the attributes of a directive in the controller function. However, by the time I access …

javascript events controller angularjs angularjs-directive
Laravel: Controller does not exist

I added new controller in /app/controllers/admin/ folder and added the route in /app/routes.php file as well. …

laravel-4 controller autoload
How to rename rails controller and model in a project

I started a Rails app and everything works fine. But now, I would like to rename a controller and the …

ruby-on-rails model controller rename
Is it possible to determine whether ViewController is presented as Modal?

Is it possible to check inside ViewController class that it is presented as modal view controller?

iphone ios view controller modal-dialog
How to report error to $.ajax without throwing exception in MVC controller?

I have a controller, and a method as defined... [HttpPost] public ActionResult UpdateUser(UserInformation model){ // Instead of throwing exception throw …

c# ajax asp.net-mvc controller
Ruby on rails 3 link_to controller and action

I know this is probably a pretty simple concept. I am trying to create a link to a controller and …

ruby-on-rails-3 controller action link-to
How to create multiple javafx controllers with different fxml files?

I've been looking at some blogs and other stackoverflow questions, and I'm not seeing a direct answer to my question. …

java controller javafx-2 javafx fxml
Spring Boot - redirect to a different controller method

I am creating a very basic application with SpringBoot and Thymeleaf. In the controller I have 2 methods as follows: Method1 …

spring-boot controller thymeleaf